How do i add hyperlinks to item images in K2 (image attached):
The images are then presented as portfolio grid on the homepage as below:
and I want them to link to external links.
You can just add an "Extra Field" of type "Image URL", and then, in the K2 item, add the external URL to the "Image URL" extra field.
After doing the above, you should override the K2 layout that displays your portfolio to link each image to the "Image URL". You can retrieve the value of each "Image URL" using json.
Related
I would like to add some HTML to the order confirmation aka checkout success page of my Magento store (the page whose url ends with index.php/checkout/onepage/success/).
Is there a way to do this from the Admin Panel? I don't see it under any of the existing menus (http://grab.by/N1Ek).
You can add HTML with a widget:
Go to CMS > Static Blocks, create a new static block with your HTML code as content
Go to CMS > Widgets, add new widget instance
Choose type "CMS Static Block" and your theme
Choose a title, select "Display on: Specified Page" and "Page: One Page Checkout Success". In "Block Reference", choose where on the page the content should be added
On the "Widget Options" tab, select the static block, created in (1)
Then clear cache and you're set.
Magento has a simple 'upload file' interface for adding the thumbnail images to category pages which does not allow you to assign alt text while uploading. There is nowhere on the category page to add html for the thumbnail image.
Does anyone know how you assign an alt text to thumbnail images on the main (but not root) category pages?
Thank you.
In the Admin page, I can't see an option anywhere to change how the feature products in the "Home" page are shown, I want the images to be bigger but I can't find an option anywhere (Not even in the "manage products" or "atributes" sections)
You need to change the template. This cannot be achieved via configuration.
Every product image is resized/generated and saved in image cache so it depends on how the image helper function is called from within the template.
I have added one image media attribute called "maattabel" to attribute set.
I have also uploaded image and selected maattabel option for that image while creating product.
Now how to get this image on the product detail page.
I want this image not to be displayed with other image list but want to display in other area like in details section.
How to get this image having particular attribute added maattabel.
I think this should work
<?php echo Mage::getModel('catalog/product')->load($_product->getId())->getMediaGalleryImages()->getItemByColumnValue('label','whateverlabel')->getFile(); ?>
Is there any extension that displays the attribute image in base image location whenever is selected?
I found some extensions that display image from single product whenever an attribute is selected in configurable product like the link below…
http://amasty.com/image-based-configurable-products.html
But I couldn’t find any extension that displays attribute image in base image…
If there is no extension available, does anyone know how to code?
If you have insert attribute image then you can replace base image url with attribute image url using javascript.
If you have not show image with attribute then you can use this extension
https://github.com/jreinke/magento-attribute-option-image