Make Flash Gallery compatible with Image module 5.x-1.3+

nasi - August 30, 2007 - 12:36
Project:Flash gallery
Version:5.x-1.1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

I've had a look at making Flash Gallery work with recent versions of Image module and it seems to be a relatively straight-forward change to make it work – I have the modified version working fine on my site.

Attached should be a diff file with my changes. As well as Image 5.x-1.3+ compatibility, I have removed the height style from gallery listings (caused issues with long image descriptions) and added a title to the galleries page.

AttachmentSize
flash_gallery.module.diff1.2 KB

#1

tattoos - September 4, 2007 - 07:19

Hello,

I am new to Drupal, etc.

I have been looking for a fix to the Flash Gallery, thank you for working on it!

Basically, can you tell me or show me where your fix is placed within the files, is it in the flash_gallery module.

If you could post it as seen in the file that would be the best thing that's happened all week :)

Thanks a lot,

this is for my new sites especially, hotrodderalley.com
If you want you could attach a file if you don't want to post it publicly.

-Rainy

#2

tattoos - September 4, 2007 - 16:05

Hi,

I followed your diff file very carefully and got it first try. It does work, your awesome.

-Rainy

#3

enkara - September 6, 2007 - 08:44

I don't know why it isn't working for me :(

I get an error: Fatal error: Call to undefined function image_get_sizes() in /opt/drupal-5.1/sites/webxpres6.iws.es/modules/flash_gallery/flash_gallery.module on line 82

#4

enkara - September 6, 2007 - 11:01

Ok, now it's working. I was using Image 5.x-1.4. For me only has Image 5.x-1.5 compatibility, but I don't know if this is only my problem.
Nevertheless, great work!! Thank you very much!!

#5

sime - April 2, 2008 - 00:01
Project:SWF Tools» Flash gallery
Version:5.x-1.1» 5.x-1.1
Component:Flash Gallery» Code

** Moving Flash Gallery issues to own queue **

#6

rcross - May 13, 2008 - 10:20
Status:needs review» reviewed & tested by the community

This patch work for me

#7

singularo - August 19, 2009 - 04:18

Worked fine for me as well

 
 

Drupal is a registered trademark of Dries Buytaert.