\n"; } else if ($display_photo) { echo "\n"; } [/code1] Replace it with [code1] if ($image_resize && $display_photo) { echo "\n"; } else if ($display_photo) { echo "\n"; } [/code1] [b]Step 4.[/b] Find [code1] global $animated_thumbnails,$imagefader,$visitor_upload_adminreview, [/code1] Replace it with [code1] global $animated_thumbnails,$imagefader,$exclude_gif,$visitor_upload_adminreview, [/code1] [b]Step 5.[/b] Find [code1] if (isset($_REQUEST['imagefader'])) {fwrite($fp,'$imagefader=true'. ";\n"«»);} else {fwrite($fp,'$imagefader=false'. ";\n"«»);} [/code1] Insert below [code1] if (isset($_REQUEST['exclude_gif'])) {fwrite($fp,'$exclude_gif=true'. ";\n"«»);} else {fwrite($fp,'$exclude_gif=false'. ";\n"«»);} [/code1] [b]Step 6.[/b] Find [code1] if ($imagefader) {$imagefader_checked='checked=\"checked\"';} else {$imagefader_checked='';} [/code1] Insert below [code1] if ($exclude_gif) {$exclude_gif_checked='checked=\"checked\"';} else {$exclude_gif_checked='';} [/code1] [b]Step7.[/b] Find [code1] echo "\n"; [/code1] Replace it with [code1] echo "\n"; [/code1] That would be all. Open your configuration panel for your album, and right next to "Explicit content disclaimer" you will find a new option called "Disable fader effect for GIF's". From here you can disable or enable fader effect for gif images.

MOD: "Disable fader effect for GIF images"

If you have animated gif images in your album and if fader effect is turned on, then it's a good idea to disable fader effect while displaying that type of images to avoid flickering. This MOD will add an option with which you can turn off fader effect only for animated gif images. [b]Step 1.[/b] In the section "Page layout and behaviour" find [code1] $imagefader [/code1] Insert below [code1] $exclude_gif=true; // Disable fader effect for GIF's [/code1] [b]Step 2.[/b] Find [code1] if ($animated_thumbnails && $size[2]==1) {$image_resize=false;} [/code1] Replace it with [code1] $fader_content=''; if ($animated_thumbnails && $size[2]==1) {$image_resize=false;} if ($imagefader && !$exclude_gif || $imagefader && $exclude_gif && $size[2]!=1) { $fader_content="$onload $fader $multimedia_href3"; } else if ($imagefader && $exclude_gif && $size[2]==1) { $fader_content=''; } [/code1] [b]Step3.[/b] Find [code1] if ($image_resize && $display_photo) { echo "
$previous_thumb$multimedia_href1$multimedia_href2$next_thumb
$previous_thumb$multimedia_href1$multimedia_href2$next_thumb
$previous_thumb$multimedia_href1$multimedia_href2$next_thumb
$previous_thumb$multimedia_href1$multimedia_href2$next_thumb
Explicit content disclaimer
Disable fader effect for GIF'sExplicit content disclaimer