Jump to content

No watermark with regenerate thumbnails


Recommended Posts

Hi.

 

It started with problem to add image type. I added type with the name window and it displayed that it's been added. But in fact, in the types table it wasn't listed. I tried again and i got error message that it's already exist. I went to the database and i removed it manually from ps_image_type and i added new one manually. This didn't help either. I removed it again manually and i added it with the name Window (first letter uppercase). This from some reason worked.

 

Now, i went to the regenerate thumbnails module. I ran the process for this Window type only and i got it done without watermark. I tried again after modifying the watermark module and no luck with getting watermark on it.

Link to comment
Share on other sites

  • 4 months later...

The main problem relies on the mysql server timeout. After one certain point, mysql server goes away and the line 607 in file classes/db/Db.php [throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');] returns error. The fast solution for me (535 products in my website korfufoods.de) was to regenerate the thumbnails by selecting both the image category and format one by one. For example, I first regenerated products and category default, then products and category home e.t.c. After that, the old images were regenerated correctly and the new images will have the watermark anyway. I hope it helps someone... :)

Edited by Chris Digas (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...