A link for web designers and developers.
The 960 Grid system allows you to create a website using as 12 or 16 columns each with a 10px margin on the left and right.
Go to their website to learn more
This is a collection of all those little and large genius moments you get. You know what I'm talking about, when you've spent hours searching the internet for a solution, but no one quite knows the while answer. Then you crack it and feel like you've accomplished lifting a mountain from your path.
Sunday, 31 July 2011
Friday, 29 July 2011
Magento Referencing images in the CMS
Referencing an image in the Skin's images Folder
If you want to reference an image in your skin folder, in a page in magento (created using the CMS), use this bit of code in the "src":
{{skin url='images/image.gif'}}
example:
Referencing an image in the Media Folder
If you want to reference an image in the media folder, in a page in magento (created using the CMS), use this bit of code in the "src":
{{media url='images/image.gif'}}
example:
If you want to reference an image in your skin folder, in a page in magento (created using the CMS), use this bit of code in the "src":
{{skin url='images/image.gif'}}
example:
<img src="{{skin url='images/image.gif'}}" alt="alternate text" />
Referencing an image in the Media Folder
If you want to reference an image in the media folder, in a page in magento (created using the CMS), use this bit of code in the "src":
{{media url='images/image.gif'}}
example:
<img src="{{media url='image.gif'}}" alt="alternate text" />
Subscribe to:
Posts (Atom)