im resizing an image using a $image. how can I make this:
scaleImageFile(
"gif/SB-99JCX-000021.gif",
500,
500,
"gifanim/output/SB-99JCX-000021-500x500.gif",
4
);
into this? and make it work..
$image = is in a loop.. counting each image. so SB-99JCX-000021.gif, 22.gif, 23.gif... and so on
scaleImageFile(
"gif/$image",
500,
500,
"gifanim/output/$image-500x500.gif",
4
);
more of the code to give you an idea:
foreach ($sortedImages as $image) {
scaleImageFile(
"gif/SB-99JCX-000021.gif",
500,
500,
"gifanim/output/SB-99JCX-000021-500x500.gif",
4
);