Jump to content

Wrong img path on some subcategories Help


Recommended Posts

Hi.Three of my subcategories broke by no reason.
 
Here wrong path and showing no image
 

<img class="replace-2x" src="http://www.caprigoshop.ru/c/ru-default-medium_default/trevi-promo.jpg" alt="TREVI promo" width="240" height="312">

 
Here right path
 

<img class="replace-2x" src="http://www.caprigoshop.ru/c/29-medium_default/porto.jpg" alt="PORTO" width="240" height="312">

category .tpl

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

Help plz i cand find it.Thanks
 
After regenerated images and clearing cache they dissapear from BO

 

 

Category thumbnail images appear only if Category Cover Image uploads for some categories its kind of strange cause in some category thumbnail  uploading was enough.Solved

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

hello

do you use some module that allows to upload different category image for your shop's languages?

Hi.No i dont as im wrote if no category cover image in caterogy, thumbnail images not appears only if some category cover image exist, thumbnail pics changing.Looks like presta bug or feature 

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