Closed (duplicate)
Project:
Image
Version:
6.x-1.x-dev
Component:
image_import
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2008 at 19:02 UTC
Updated:
15 Jan 2009 at 02:46 UTC
When importing images into a Gallery, the derivatives are not generated. When the Gallery is viewed for the first time after importing, the derivatives are built, causing the page to talk longer than expected to load.
Comments
Comment #1
Hetta commentedfix here: http://drupal.org/node/159847 - which I closed again, cos that's a long gone issue.
Comment #2
dman commentedI actually prefer the on-demand version, because although it does slow down the first gallery view (big deal), it means that my image_import process itself doesn't timeout (actually a big deal!).
Temporarily slow images in a gallery I can deal with. They turn up next time you look.
Having to re-type my descriptions and things in a bulk import because it timed out halfway through is NOT fun!
... I'm using some imagecache watermark processes and giant sources, so processing time is a real problem on any server I've been working on.
Comment #3
Hetta commentedHave you tried adding
set_time_limit(0);to form.inc ?That solved a lot of the troubles I had with a 10K+ vocabulary, in node updates ...
Comment #4
dman commentedYeah, it doesn't actually die ... much. But there's waiting for automated processes to run vs actually getting stuff done. If I can import a few galleries bada-bing, then background the browser before I go previewing the page ... or run a link-checker and walk away ... then my time is where it should be. Not waiting several mins, several times for a page to come back.
Ah, there's no perfect fix.
Put the whole import process into a cron queue and run a little auto-refreshing daemon process :)
Comment #5
sunMarking as duplicate of #159847: Derivative images not built when importing from outside /files