Jump to content

Uploaded Category Images not Showing on front end


Recommended Posts

i have searched the forum for a solution and found the following

 

In the Back Office go to Preferences > Images

Scroll down to the bottom to "Regenerate Thumbnails"

For Select an Image choose- Categories

For Select a Format choose- "home" or "home_default" (should have an image size of 124 x 124)

Then click " Regenerate Thumbnails"

 

 

all my categories images are manually uploaded and its only the odd one or two that wont show on the front end. all the others are updating fine to any changes i may make

 

 

i tried the above solution but all my images vanished and i had to restore my whole site to the prev day. what did i do wrong?

 

can anyone tell me how to make the Uploaded Category Images show on my site

Link to comment
Share on other sites

the most up to date version i think

 

jpgs

 

i am confused by the "Erase previous images" option in regenerate thumbnails

it says Select "No" only if your server timed out and you need to resume the regeneration.

but if i select yes to the option to erase previous images though will it delete all my category images again? i lost all my images last time and had to re upload my site but i dont know if i selected the yes or no option last time!
Link to comment
Share on other sites

You should choose "No" in "Erase Previous Images"  if the server timed-out (as it says on screen).

 

This is because when the server times-out and and PS has only regenerated say half your images, if you don't select "No" after a time-out, it will start all over again, deleting the images this process has already created resulting in you going round in circles trying to regenerate images.

 

The main issue is that some category images are not showing. Is this correct?

 

If so, you have to find out why. When you upload an image to a category in the Backoffice, does it show?

 

Is the image a large filesize or large dimension-wise?

 

Can you view the image in paint for instance?

Link to comment
Share on other sites

ahh ok, well ive not done an image regenerate since i installed my back up of the site. so when i do it i should select yes.

 

yes for example here http://eyecandylingerie.uk/en/144-fashion CLUBWEAR SETS

 

yes it shows in the BO

 

i have changed the image size, in paint, to the same size as another image that is showing and this has made no difference

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

Ok.I've had a look and can't quite work out what is going on as I would expect the sub-category image to show correctly on the category page.The other sub-category pages look streched which I would think means that they haven't been sized correctly.

 

If regenerating images and it times out, click on the browser back button and select "No", then continue regenerating. If it times out again, do the same thing until all thumbnails are regenerated.

 

I would also delete the category image that has the issue before regenerating.

 

It's a bit difficult to tell what is going on without seeing whats going on in the backoffice, but for the moment I would delete the images in the categories with the problem.

Link to comment
Share on other sites

  • 3 months later...

Please someone help me.. 

 

i have messed up with my category.tpl file and somehow changed the image paths. so in result category thumbnails are not shown. below is the code.

 

{include file="$tpl_dir./errors.tpl"}
{if isset($category)}
{if $category->id AND $category->active}
    {if $scenes || $category->description || $category->id_image}
<div class="content_scene_cat">
            {if $scenes}
                  <div class="content_scene">
                        <!-- Scenes -->
                        {include file="$tpl_dir./scenes.tpl" scenes=$scenes}
                        {if $category->description}
                            <div class="cat_desc rte">
                            {if Tools::strlen($category->description) > 350}
                                <div id="category_description_short">{$description_short}</div>
                                <div id="category_description_full" class="unvisible">{$category->description}</div>
                                <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a>
                            {else}
                                <div>{$category->description}</div>
                            {/if}
                            </div>
                        {/if}
                    </div>
{else}
                    <!-- Category image -->
                    <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}>
                        {if $category->description}
                            <div class="cat_desc">
                            <span class="category-name">
                                {strip}
                                    {$category->name|escape:'html':'UTF-8'}
                                    {if isset($categoryNameComplement)}
                                        {$categoryNameComplement|escape:'html':'UTF-8'}
                                    {/if}
                                {/strip}
                            </span>
                            {if Tools::strlen($category->description) > 350}
                                <div id="category_description_short" class="rte">{$description_short}</div>
                                <div id="category_description_full" class="unvisible rte">{$category->description}</div>
                                <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a>
                            {else}
                                <div class="rte">{$category->description}</div>
                            {/if}
                            </div>
                        {/if}
                     </div>
                  {/if}
            </div>
{/if} {* I HAVE DEACTIVATED THIS CODE ------------------------ IMMS
<h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1> *}
{if isset($subcategories)}
        {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) }
<!-- Subcategories -->
<div id="subcategories">
<p class="subcategory-heading">{l s='Subcategories'}</p>
<ul class="clearfix">
{foreach from=$subcategories item=subcategory}
<li>
                <div class="subcategory-image">
<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img">
{if $subcategory.id_image}
<img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="{$subcategory.name|escape:'html':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />
{else}
<img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-medium_default.jpg" alt="{$subcategory.name|escape:'html':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" />
{/if}
</a>
                    </div>
<h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5>
{if $subcategory.description}
<div class="cat_desc">{$subcategory.description}</div>
{/if}
</li>
{/foreach}
</ul>
</div>
        {/if}
{/if}
{if $products}
<div class="content_sortPagiBar clearfix">
            <div class="sortPagiBar clearfix">
            {include file="./product-sort.tpl"}
                {include file="./nbr-product-page.tpl"}
</div>
                <div class="top-pagination-content clearfix">
                {include file="./product-compare.tpl"}
{include file="$tpl_dir./pagination.tpl"}
                </div>
</div>
{include file="./product-list.tpl" products=$products}
<div class="content_sortPagiBar">
<div class="bottom-pagination-content clearfix">
{include file="./product-compare.tpl" paginationId='bottom'}
                    {include file="./pagination.tpl" paginationId='bottom'}
</div>
</div>
{/if}
{elseif $category->id}
<p class="alert alert-warning">{l s='This category is currently unavailable.'}</p>
{/if}
{/if}
Link to comment
Share on other sites

what you see istead of thumbnail? thumb with question mark? or nothing?

Thank yo vekia for your response. 

 

yes for most of the thumbnail i see "?". Please have a look at my site "www.imsaal.com". 

 

Once again thank you.

Link to comment
Share on other sites

Thank yo vekia for your response. 

 

yes for most of the thumbnail i see "?". Please have a look at my site "www.imsaal.com". 

 

Once again thank you.

Dear Vekia, please reply to my query. I am using 1.6.0.14.

 

thanks

Link to comment
Share on other sites

  • 2 months later...

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...