Resizing isn't working

OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Mon, 2013-10-07 17:34

G3. ImageMagick.

When I try to upload an image, I get a success message.

However, when I browse the frontend to check out the just uploaded image, it seems thumbnail and resize are not available.

In the logs, I see:

Quote:
@todo UNREADABLE_FILE
#0 /home/kepek/modules/gallery/helpers/gallery_graphics.php(145): photo_Core::get_file_metadata('/home/content/0...')
#1 [internal function]: gallery_graphics_Core::composite('/home/kepek/var...', '/home/kepek/var...', Array, Object(Item_Model))
#2 /home/kepek/modules/gallery/helpers/graphics.php(171): call_user_func_array('gallery_graphic...', Array)
#3 /home/kepek/modules/gallery/helpers/gallery_event.php(126): graphics_Core::generate(Object(Item_Model))
#4 /home/kepek/modules/gallery/helpers/module.php(402): gallery_event_Core::item_created(Object(Item_Model))
#5 /home/kepek/modules/gallery/models/item.php(416): module_Core::event('item_created', Object(Item_Model))
#6 /home/kepek/modules/gallery/controllers/uploader.php(75): Item_Model_Core->save()
#7 [internal function]: Uploader_Controller->add_photo('1925')
#8 /home/kepek/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Uploader_Controller), Array)
#9 [internal function]: Kohana_Core::instance(NULL)
#10 /home/kepek/system/core/Event.php(208): call_user_func_array(Array, Array)
#11 /home/kepek/application/Bootstrap.php(67): Event_Core::run('system.execute')
#12 /home/kepek/index.php(117): require('/home/kepek/app...')
#13 {main}
2013-10-06 23:23:13 +02:00 --- error: @todo UNREADABLE_FILE
#0 /home/kepek/modules/gallery/helpers/gallery_graphics.php(145): photo_Core::get_file_metadata('/home/content/0...')
#1 [internal function]: gallery_graphics_Core::composite('/home/kepek/var...', '/home/kepek/var...', Array, Object(Item_Model))
#2 /home/kepek/modules/gallery/helpers/graphics.php(171): call_user_func_array('gallery_graphic...', Array)
#3 /home/kepek/modules/gallery/helpers/gallery_event.php(126): graphics_Core::generate(Object(Item_Model))
#4 /home/kepek/modules/gallery/helpers/module.php(402): gallery_event_Core::item_created(Object(Item_Model))
#5 /home/kepek/modules/gallery/models/item.php(416): module_Core::event('item_created', Object(Item_Model))
#6 /home/kepek/modules/gallery/controllers/uploader.php(75): Item_Model_Core->save()
#7 [internal function]: Uploader_Controller->add_photo('1925')
#8 /home/kepek/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Uploader_Controller), Array)
#9 [internal function]: Kohana_Core::instance(NULL)
#10 /home/kepek/system/core/Event.php(208): call_user_func_array(Array, Array)
#11 /home/kepek/application/Bootstrap.php(67): Event_Core::run('system.execute')
#12 /home/kepek/index.php(117): require('/home/kepek/app...')
#13 {main}
2013-10-06 23:24:45 +02:00 --- error: Caught exception rebuilding images: IMG 5321small

OC2PS
Csillámtetoválás webshop

Csillámtetoválás enciklopédia
Henna enciklopédia
GMAT & MBA Admission

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-10-08 03:56

Try another image toolkit for a test. Perhaps your host mad a change to IM.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Sat, 2013-10-19 21:32

Tried GD with same result.

I don;t have GraphicsMagick, but I can;t imagine it would yield a different result.

OC2PS
Csillámtetoválás webshop

Csillámtetoválás enciklopédia
Henna enciklopédia
GMAT & MBA Admission

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-10-20 01:27

Do you have the watermark module activated? Disable and try again.

Check permissions on the file system. Perhaps the webserver can't write to the thumbs and resize directories.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Mon, 2013-10-21 10:09

Yup, disabling watermark module did the trick.

However, I do "need" watermarking. What should I do?
OC2PS
Csillámtetoválás webshop

Csillámtetoválás enciklopédia
Henna enciklopédia
GMAT & MBA Admission