Jump to content

Weird sub category image bug (not displaying all images)


Recommended Posts

I'm encountering a really strange bug in my development site. Basically sub-category images are only displaying in one of my categories, even though I have uploaded images into all of them.

 

In the back office I can see the sub category images, but they won't display in the front office Here is a link to the site: http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/

 

If you click on Laminate worktops in the right column this takes you to the category page and the sub category images are correctly displayed here.

 

However, if you click on either of the other categories (Wood Worktops or Solid Surface Worktops), no sub-category images are displayed?

 

I'm completely stumped on this - I have set the site to not cache things as its still in a development stage and as I said I know the images are uploaded because I can see them in the back office.

 

Any help is greatly appreciated.

Link to comment
Share on other sites

I'm encountering a really strange bug in my development site. Basically sub-category images are only displaying in one of my categories, even though I have uploaded images into all of them. In the back office I can see the sub category images, but they won't display in the front office Here is a link to the site: http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/ If you click on Laminate worktops in the right column this takes you to the category page and the sub category images are correctly displayed here. However, if you click on either of the other categories (Wood Worktops or Solid Surface Worktops), no sub-category images are displayed? I'm completely stumped on this - I have set the site to not cache things as its still in a development stage and as I said I know the images are uploaded because I can see them in the back office. Any help is greatly appreciated.

 

Hi,

 

The medium category images do not exist on your server, so they are not displayed.

 

E.g.:-

For the Oak Worktops

On http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/6-solid-wood-worktops the url of the image is (if you disable the Friendly URLs):

http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/img/c/18-medium.jpg

As you can see this images is not on the server.

 

The rest of them are on the server:

http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/img/c/18-category.jpg

http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/img/c/18-large.jpg

http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/img/c/18-small.jpg

http://79.170.44.90/cfw-kitchen-worktops-dev.co.uk/img/c/18.jpg

 

So the problem is the medium images were not created for some reason.

Link to comment
Share on other sites

Thanks for the reply - However, I can see the images for the sub-categories in the back office section. I've attached a screen shot showing the image for the Oak Worktops that doesn't display when clicking on the link you posted in your reply from my site front end

 

post-340889-0-37992000-1335991818_thumb.jpg

Link to comment
Share on other sites

I have moved the site to a new server now so the URL has changed from the original. I've remade the .htaccess file and the robots.txt file - still getting the same problem

 

***URL for an image that doesn't work***

 

The URL in the back office for an image that isn't working is http://www.cfw-kitch...time=1336084569

 

Everything else on the site works fine apart from this.

 

 

***URL for an image that does work***

The URL in the back office for an image that IS working http://www.cfw-kitchen-worktops.co.uk/img/tmp/category_7.jpg?time=1336084680

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

But the Back Office isn't displaying the same image as the Front Office.

 

This is in back office:

www.cfw-kitchen-worktops.co.uk/img/tmp/category_18.jpg?time=1336084569

 

While in the front office it is:

www.cfw-kitchen-worktops.co.uk/img/c/18-medium.jpg

 

You can see, they point to different folders and also have different names.

 

Try to regenerate the medium images of the categories.

Link to comment
Share on other sites

  • 3 weeks later...
  • 8 months later...
  • 3 months later...

I'm encountering a really strange bug in my development site. Basically sub-category images are only displaying in one of my categories, even though I have uploaded images into all of them.

 

In the back office I can see the sub category images, but they won't display in the front office Here is a link to the site: http://79.170.44.90/...tops-dev.co.uk/

 

If you click on Laminate worktops in the right column this takes you to the category page and the sub category images are correctly displayed here.

 

However, if you click on either of the other categories (Wood Worktops or Solid Surface Worktops), no sub-category images are displayed?

 

I'm completely stumped on this - I have set the site to not cache things as its still in a development stage and as I said I know the images are uploaded because I can see them in the back office.

 

Any help is greatly appreciated.

 

A programming error in prestashop 1.5.3.0 the image does not appear in the browser Microsoft Internet explore in IE version 8 onwards.

 

To resolve this problem, enter the root of its prestashop site www search for classes / ImageType.php click edit this file.

 

return $ theme_name find. '_'. $ name_without_theme_name and at the end of the page

 

and change it to return $ name_without_theme_name. '_default';

 

Note that lacked the command line and the default programming is incorrect.

 

This is the error programmatically as the exchange version.

 

More with this command solves the problem. Do not forget to save.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...