images prestashop problem

gregor
6 Posts
gregor posted this 17 November 2015

I have strange problem (I think that once it was working, but now it is not) When I export template for prestashop I can't see images only questionmarks. After i have viewed source I found that images have additional "../" in path. It only happens when container is on top of hierarchy - CONTAINER->TWO COLUMNS->ROW->COLUMN->IMAGE, or CONTAINER->TWO COLUMNS->ROW->COLUMN->SLIDER->SLIDE. When image is in HEADER->SECTION->CONTAINER->CONTAINER->IMAGE it looks all good. The "../" looks like this:

<img class="bd-imagestyles-9 bd-imagelink-1 hidden-xs   " src="/themes/MYTHEMENAME/img/../img/1fc8c639f375e99935da1ebcd840b8d1default_image.png">

I have strange problem (I think that once it was working, but now it is not) When I export template for prestashop I can't see images only questionmarks. After i have viewed source I found that images have additional "../" in path. It only happens when container is on top of hierarchy - CONTAINER->TWO COLUMNS->ROW->COLUMN->IMAGE, or CONTAINER->TWO COLUMNS->ROW->COLUMN->SLIDER->SLIDE. When image is in HEADER->SECTION->CONTAINER->CONTAINER->IMAGE it looks all good. The "../" looks like this: <img class="bd-imagestyles-9 bd-imagelink-1 hidden-xs " src="/themes/MYTHEMENAME/img/../img/1fc8c639f375e99935da1ebcd840b8d1default_image.png">

Last edited 17 November 2015 by gregor

Vote to pay developers attention to this features or issue.
6 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 18 November 2015

Hi,

Sorry, could you please provide an access to the site where the template is installed and also attach the exported theme with the editor so we could review. And point to the exact images that disappear after exporting.

Sincerely,
Hella

Hi, Sorry, could you please provide an access to the site where the template is installed and also attach the exported theme with the editor so we could review. And point to the exact images that disappear after exporting. Sincerely, Hella
gregor
6 Posts
gregor posted this 20 November 2015

Hello, the problem is really big. I made template from the scratch, and it went also wrong! Now in error logs of Apache at my server there are entries that wants to execute file with "/./" ?

The domain is http://goo.gl/b4stp7 . Aas you can see, as you want to view product page it goes blank, and in error logs at my server the above entries occurs! i must say that this is really annoying, because it works until some time, and goes wrong after some time spend in themler.

Hello, the problem is really big. I made template from the scratch, and it went also wrong! Now in error logs of Apache at my server there are entries that wants to execute file with "/./" ? The domain is [http://goo.gl/b4stp7][1] . Aas you can see, as you want to view product page it goes blank, and in error logs at my server the above entries occurs! i must say that this is really annoying, because it works until some time, and goes wrong after some time spend in themler. [1]: http://goo.gl/b4stp7

Last edited 20 November 2015 by gregor

gregor
6 Posts
gregor posted this 20 November 2015

Ok, got it working (partially) I have deleted BREADCRUMBS from PRODUCT page and that is why it stopped working. (strange) after I have placed BRADCRUMBS somewhere in product page it stated to work again. But it is really strange for me that I need to place breadcrumbs (or maybe the link to file breadcrumbs_1.tpl is not cleared during deletion process in Themler?.

Ok, got it working (partially) I have deleted BREADCRUMBS from PRODUCT page and that is why it stopped working. (strange) after I have placed BRADCRUMBS somewhere in product page it stated to work again. But it is really strange for me that I need to place breadcrumbs (or maybe the link to file breadcrumbs_1.tpl is not cleared during deletion process in Themler?.

Last edited 20 November 2015 by gregor

Support Team
Support Team posted this 23 November 2015

Hi,

The domain is http://goo.gl/b4stp7 .

Unfortunately this domain returns 404 error.
The attached theme looks ok for me:

case45233.png

Please check the following options:

  • ADVANCED PARAMETERS >> PERFORMANCE >> CCC
    Smart cache for CSS -> No
    Smart cache for JavaScript -> No

  • ADVANCED PARAMETERS >> PERFORMANCE >>
    Recompile templates if the files have been updated -> enable
    Disable all overrides  -> No

if the issue continues please provide a link to the problem website. access to the admin panel and FTP is possible.

Thank you,
Olivia

Hi, > The domain is http://goo.gl/b4stp7 . Unfortunately this domain returns 404 error. The attached theme looks ok for me: !case45233.png! Please check the following options: - ADVANCED PARAMETERS >> PERFORMANCE >> CCC Smart cache for CSS -> No Smart cache for JavaScript -> No - ADVANCED PARAMETERS >> PERFORMANCE >> Recompile templates if the files have been updated -> enable Disable all overrides  -> No if the issue continues please provide a link to the problem website. access to the admin panel and FTP is possible. Thank you, Olivia
gregor
6 Posts
gregor posted this 24 November 2015

Hello, yes, at now it is working good, as I have said I had to add breadcrumbs, but probably turning off all caches (helped a lot).

Two more questions, first is that inside exported ZIP file is a Folder THEMES\THEMENAME there is another sub folder called THEMENAME_preveiw , can it be deleted?
Second one is inside ZIP, in THEMES\THEMENAME\EXPORT there is file 'cache.json', can it be deleted?

Hello, yes, at now it is working good, as I have said I had to add breadcrumbs, but probably turning off all caches (helped a lot). Two more questions, first is that inside exported ZIP file is a Folder THEMES\THEMENAME there is another sub folder called THEMENAME_preveiw , can it be deleted? Second one is inside ZIP, in THEMES\THEMENAME\EXPORT there is file 'cache.json', can it be deleted?
Support Team
Support Team posted this 26 November 2015

Hi,

first is that inside exported ZIP file is a Folder THEMES\THEMENAME there is another sub folder called THEMENAME_preveiw , can it be deleted?

This is preview theme. You see it when you work with theme in Themler.
If you're not going to edit theme in Themler you can download theme without Themler:

export-without-themler.png

And re-install it again on your server.

In this case then theme will not contain any data required to work with Themler including /export folder.

So, the answer to your questions is "Please do not remove any of these files and folders if you're going to edit this theme in Themler".

PrestaShop may save cache files to the /cache folder inside theme directory. These files, except index.php, can be removed.

Thank you,
Olivia

Hi, > first is that inside exported ZIP file is a Folder THEMES\THEMENAME there is another sub folder called THEMENAME_preveiw , can it be deleted? This is preview theme. You see it when you work with theme in Themler. If you're not going to edit theme in Themler you can download theme without Themler: !export-without-themler.png! And re-install it again on your server. In this case then theme will not contain any data required to work with Themler including `/export` folder. So, the answer to your questions is "Please do not remove any of these files and folders if you're going to edit this theme in Themler". PrestaShop may save cache files to the `/cache` folder inside theme directory. These files, except `index.php`, can be removed. Thank you, Olivia
You must log in or register to leave comments