Search the Community
Showing results for tags 'ImageManager.php'.
-
Hello, I am currently struggling with an issue: how to render different thumbnails for in example just small_default.jpg files. What should I change in imageManager.php to check if the presta is processing small_default (or any other) file and add my changes to it? In which function should I look for it? I just want to render all the files as they are curently processing (with white stripes etc) but I just want to edit this one specific type to be render in different way (with Imagick but this is my issue). Any help will be appreciated.
-
Hi all, when I log into the BackOffice of my shop and then click on Catalog and then on Products, I was met with a blank page. After turning debugging on I was met with the following error: Fatal error: Out of memory (allocated 108527616) (tried to allocate 20608 bytes) in /home/***/public_html/classes/ImageManager.php on line 365 Here's a pretty good description of someone seeing similar issues to what I'm experiencing, but it's a Google translation of Spanish text, so it sometimes reads a bit funny. From what I gather there, the recommendation is to have the hosting provider raise the memory limit in php.ini to 128M. My provider has done so, raising that limit to 3500M, as is evident on the Configuration page in BackOffice: Server information Server information: Linux #1 SMP Fri Jul 12 15:02:22 EEST 2013 x86_64 Server software version: LiteSpeed PHP version: 5.3.28 Memory limit: 3500M Max execution time: 30 As this is all related to ImageMananger.php, on a whim I unwisely attempted to regenerate my images by clicking on Preferences -> Images and then on Regenerate Thumbnails and was met with the following error: Fatal error: Out of memory (allocated 105644032) (tried to allocate 20608 bytes) in /home/***/public_html/classes/ImageManager.php on line 365 And now I have no images on my site, and am unable to regenerate them. Does anyone have any suggestions as to why this happening?
- 5 replies
-
- imagemanager
- backoffice
-
(and 2 more)
Tagged with:
-
Buenas, tengo un problema con el modulo homeslider, cuando intento poner una nueva diapositiva, me pone este error: Warning: imagepng() [function.imagepng]: Unable to open '/usr/home/latiendadelcuero.com/web/prestashop/modules/homeslider/images/b6b6e934b6ee0aa1238a1687dce70ae2.jpg' for writing: Permission denied in/usr/home/latiendadelcuero.com/web/prestashop/classes/ImageManager.php on line 403 He reiniciado el modulo y me salen las imagenes por defecto de prestashop, pero intento cargar nuevas imagenes y nada de nada. A todo esto decir que la version de PS que tengo es la 1.5.6.2 y que actualice los famosos modulos que me destrozaron la tienda, ya estan todos restaurado de nuevo y funcionando. PD: No puedo dar los permisos a ImageManager porque desde cdmon me da un error diciendo que con chmod solo se puede usar en servidores unix... algo logico, pero la cuestion es que no puedo darle permisos a ese archivo. Lo he intentado con filezilla y el archivo ImageManager.php no me aparece dentro de la carpeta classes. Un saludo a todos!.
-
- Homeslider
- ImageManager.php
-
(and 1 more)
Tagged with:
-
Some of my images have not a 1:1 aspect ratio and a white bar is generated to fill up the space. In some cases I would need the alignment to be top, not center. The code that has to be changed is most likely in the file classes/ImageManager.php, but I am not skilled enough to make the adjustment myself. If anyone could help me with the modification, it would be much appreciated.
- 1 reply
-
- background
- white bar
-
(and 2 more)
Tagged with:
-
I am setting up a store, and noticed that I get HUGE amounts of these errors: [15-Jan-2013 21:39:47] PHP Warning: Wrong parameter count for clearstatcache() in /storage/content/22/133322/store.mydomain.com/public_html/classes/ImageManager.php on line 122 (yes, i switched my actual url for "mydomain.com" here). What does this mean? What does it do? How can I fix it? :-/