| @@ 211-218 (lines=8) @@ | ||
| 208 | } |
|
| 209 | } |
|
| 210 | // displace |
|
| 211 | if ($Hobjs) { |
|
| 212 | foreach ($Hobjs as $index) { |
|
| 213 | if ($gifCreator->setup[$index] && $gifCreator->setup[$index . '.']) { |
|
| 214 | $oldOffset = explode(',', $gifCreator->setup[$index . '.']['offset']); |
|
| 215 | $gifCreator->setup[$index . '.']['offset'] = implode(',', $gifCreator->applyOffset($oldOffset, [0, -$Hcounter])); |
|
| 216 | } |
|
| 217 | } |
|
| 218 | } |
|
| 219 | if ($Wobjs) { |
|
| 220 | foreach ($Wobjs as $index) { |
|
| 221 | if ($gifCreator->setup[$index] && $gifCreator->setup[$index . '.']) { |
|
| @@ 219-226 (lines=8) @@ | ||
| 216 | } |
|
| 217 | } |
|
| 218 | } |
|
| 219 | if ($Wobjs) { |
|
| 220 | foreach ($Wobjs as $index) { |
|
| 221 | if ($gifCreator->setup[$index] && $gifCreator->setup[$index . '.']) { |
|
| 222 | $oldOffset = explode(',', $gifCreator->setup[$index . '.']['offset']); |
|
| 223 | $gifCreator->setup[$index . '.']['offset'] = implode(',', $gifCreator->applyOffset($oldOffset, [-$Wcounter, 0])); |
|
| 224 | } |
|
| 225 | } |
|
| 226 | } |
|
| 227 | } |
|
| 228 | // Finding alternative GIF names if any (by altImgResource) |
|
| 229 | $gifFileName = ''; |
|