Hi,
I'm trying to fix the animation lost when uploading animated gif.
(The animation is lost in the resizing process)
In lots of forums in the web, they talk about imagekagick have no problems with resizing animated gif.
• In admin panel->settings->variables : uncheck the "Use GD library for image processing"
• After I went in inc/classes/BxDolImageResize.php :
inside function _resizeImageMagick () there is
$cmd = "{$GLOBALS['CONVERT']} \"$sSrcImage\" -geometry {$this->w}\">\"x{$this->h}\">\" \"$sDstImage\"";
I think this line cause an error when uploading animated gif : "photo upload failed..."
I found this imagemagick command :
convert -size 200x100 coalesce.gif -resize 200x10 small.gif
I tried to modify $cmd without success... Does someone knows how to change $cmd to make it work ?
|
Have you tried searching the forums for this? It's been talked about before. ManOfTeal.COM a Proud UNA site, six years running strong! |
Yes but the problem is still not fixed and it's been 9 months postponed from version to an other... :( |
It might sound like it's a simple thing, but it's a lot more involved than just changing the imageMagick command line. I, for one, am glad it doesn't support animated gifs, which I believe are one of the most annoying things in the history of the www. Whatever woman invented animated gifs, should be punished.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Whatever woman invented animated gifs, should be punished.
LOL. Actually Steve Wilhite of CompuServe created gif in 1987. In 1989 GIF 87a was introduced. I could not find any info specifically stating that Steve Wilhite was the fool that did that too, but i am assuming he was.
I can tolarate animated gifs to some degree. Those stupid glitter graphics used on myspace for so many years drive me crazy.
https://www.deanbassett.com |
Hey Deano... Look Up ^^^^^ My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
Hey Deano... Look Up ^^^^^
Yea. It was not there when i was typing my reply. Uggg. Your burning my eyes.
https://www.deanbassett.com |
Some domains (ex: Adult industry) have lots of banners with animated gif.
In some on my site I need to sell banners and clients in this industry want to buy animated gif banners...
I see that boonex have a lot of themes and domains related to this industry.
How many people WANT animated gif in their sites ??? Please don't be shy to answer
Animated gifs could be annoying for some people, but for others it means more revenue...
|
Have had animated giffs many times... now I realise how yucky they are, they have gone.
If you cant get them to work you can load the animated giff into a flash object and just paste the code into a block.
Nathan : )
|
Hi,
I want users just to click upload, they choose there animated gif and that's it...
users cannot admin my site.
|
If you just need to sell banners why are you worried about Dolphin's uploader?? If you put the banner code in your template or even use the banner system in Dolphin the moving gifs will still work.
Some domains (ex: Adult industry) have lots of banners with animated gif.
In some on my site I need to sell banners and clients in this industry want to buy animated gif banners...
I
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I just think it would be cool to have an animated gif as your profile avatar.
Just my opinion.
One of my plans over the course of the summer is to FIX that and the fact that ALL the photos are dumped into 1 folder. I plan on fixing it where the photos are dumped per user ID into their own folder.
I might work on that this weekend now that I've thought about it!
http://www.mytikibar.com |
Hi,
I'm trying to fix the animation lost when uploading animated gif.
(The animation is lost in the resizing process)
In lots of forums in the web, they talk about imagekagick have no problems with resizing animated gif.
• In admin panel->settings->variables : uncheck the "Use GD library for image processing"
• After I went in inc/classes/BxDolImageResize.php :
inside function _resizeImageMagick () there is
$cmd = "{$GLOBALS['CONVERT']} \"$sSrcImage\" -geometry {$this->w}\">\"x{$this->h}\">\" \"$sDstImage\"";
I think this line cause an error when uploading animated gif : "photo upload failed..."
I found this imagemagick command :
convert -size 200x100 coalesce.gif -resize 200x10 small.gif
I tried to modify $cmd without success... Does someone knows how to change $cmd to make it work ?
Look in images.inc.php you will find this line
function imageResize( $srcFilename, $dstFilename, $sizeX, $sizeY, $forceJPGOutput = false )
IF you have a routine that calls this and they pass TRUE as the last parameter, the image will be forced into a JPEG, otherwise it's JPG or PNG or GIF (Whatever the native format is).
I have found the call in the AVATAR section and am playing with it now.
http://www.mytikibar.com |
I think it would be best to upload WITHOUT resizing because the browser can do resizing...
example :
<img src="allo.gif" width="300" />
<img src="allo.gif" width="200" />
It's the SAME file with the value width="" different...
Is it possible to modify the resize function to not resize ?
and than change only the width="" in the template ?
|
I plan on fixing it where the photos are dumped per user ID into their own folder.
If you do steve please let me know. This appears to make much more sence to me : )
|
That is on my list to do soon before the photos get out of control on my site. lol
I HOPE to get working on it this weekend.
Anyone make any progress on animated GIFs?
http://www.mytikibar.com |
|
Yeah, I had more pressing issues over the weekend.
I think I am going to explore this problem this week and see what I can come up with.
I am HOPING it's a matter of just adding the profileID into the path.
http://www.mytikibar.com |
I plan on fixing it where the photos are dumped per user ID into their own folder.
Did you ever "fix" this? I want to get this done then I guess I'll attack the animated gif issue.
http://www.mytikibar.com |
I got an animated gif to work on my current 7.0.9 test site. I uploaded manually, the two animated gif images, the 64 and the 32. I then went to the database and assigned the two imgaes to my profile. I found out I had to change the extension from .gif, to .jpg on the images before the avatar module would recognise the gif images; it defaults to reading only jpg. However, the browsers I tested with ignores the extension and loaded the animated images and they did animate. Haven't done anything to try to get the avatar module to do actual animated gif uploads. Geeks, making the world a better place |
RE:
I got an animated gif to work on my current 7.0.9 test site. I uploaded manually, the two animated gif images, the 64 and the 32. I then went to the database and assigned the two imgaes to my profile. I found out I had to change the extension from .gif, to .jpg on the images before the avatar module would recognise the gif images; it defaults to reading only jpg. However, the browsers I tested with ignores the extension and loaded the animated images and they did animate. Haven't done anything to try to get the avatar module to do actual animated gif uploads.
There ya go.... problem solved! Anytime one of your members wants an animated gif, just dive into your database and set it up for them. Glad you got this worked out.
Next subject please.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
RE:
I got an animated gif to work on my current 7.0.9 test site. I uploaded manually, the two animated gif images, the 64 and the 32. I then went to the database and assigned the two imgaes to my profile. I found out I had to change the extension from .gif, to .jpg on the images before the avatar module would recognise the gif images; it defaults to reading only jpg. However, the browsers I tested with ignores the extension and loaded the animated images and they did animate. Haven't done anything to try to get the avatar module to do actual animated gif uploads.
There ya go.... problem solved! Anytime one of your members wants an animated gif, just dive into your database and set it up for them. Glad you got this worked out.
Next subject please.
Hi HoustonLively, hope you are doing well. While I don't care for animated gifs; especially as backgrounds where they are pure evil, animated avatars are often requested by members.
I actually did as you suggested but offered animated avatars as a purchase item. For a fee, we will set up any animated gif the user may want as an avatar . So far no one has requested one so I guess it is one of those things where if it is free, then OK but I am not going to pay for it.
Geeks, making the world a better place |