Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Apache-Gallery
Apache-Gallery-1.0.2_gif_tiff.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Apache-Gallery-1.0.2_gif_tiff.patch of Package perl-Apache-Gallery
diff -ur Apache-Gallery-1.0.2/lib/Apache/Gallery.pm Apache-Gallery-1.0.2_fix/lib/Apache/Gallery.pm --- Apache-Gallery-1.0.2/lib/Apache/Gallery.pm 2011-06-08 20:47:46.000000000 +0200 +++ Apache-Gallery-1.0.2_fix/lib/Apache/Gallery.pm 2016-06-09 10:57:32.362158257 +0200 @@ -135,6 +135,8 @@ $filename =~ s/\/(\d+)x(\d+)\-//; + $filename =~ s/-(ppm|tif?|gif).jpg$/.$1/i; + my ($width, $height, $type) = imgsize($filename); my $imageinfo = get_imageinfo($r, $filename, $type, $width, $height); @@ -187,7 +189,7 @@ } my $img_pattern = $r->dir_config('GalleryImgFile'); unless ($img_pattern) { - $img_pattern = '\.(jpe?g|png|tiff?|ppm)$' + $img_pattern = '\.(jpe?g|png|tiff?|gif|ppm)$' } # Let Apache serve files we don't know how to handle anyway @@ -1821,7 +1823,7 @@ Pattern matching the files you want Apache::Gallery to view in the index as thumbnails. -The default is '\.(jpe?g|png|tiff?|ppm)$' +The default is '\.(jpe?g|png|tiff?|gif|ppm)$' =item B<GalleryDocFile>
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor