Reply to comment

For your information

I have one more question, in the default Magento, the original thumbnail image size is 56, while the new script you have provided is "resize(143)", should it be revised  to "resize(56)" just like the original one?Thank you

This size you could set whatever you want, if I remember, 143 is my own value :)

I placed a tag like this :
<a href="http://www.google.com" rel="shadowbox">click it to load google homepage</a>
however, it seems doesn't work. May I know how I can do it?

I belive you did not load iframe plugin of shadowbox itself, in the Shadowbox.init() call, I would suggest you to change it to something like: Shadowbox.init(players: ["img", "iframe"]);, please refer to http://www.shadowbox-js.com/options.html#players for mor information.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Use the special tag [adsense:format:slot] or [adsense:format:[group]:[channel][:slot]] or [adsense:block:location] to display Google AdSense ads.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.

More information about formatting options


CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.