Quote from: opt1k at Jul 21, 2008, 11:20 AM
Nice work on Madboxr!
I was wondering how I can use template variables (TV’s) with it?
Example: #madboxr?w=320&w=280&url=[+default-image+]
As I’m using madboxr in ditto and want to have the images assigned by using a TV.
When I try it my links are displayed like this: http://www.domain.com/www/%3Cimg%20%20src=
Thanks in advance...
what did you put in the [+default-image+] ?? as far as I know it is not a TV but a placeholder, am I wrong?

Quote from: madmage at Aug 15, 2008, 12:25 PM
Quote from: opt1k at Jul 21, 2008, 11:20 AM
Nice work on Madboxr!
I was wondering how I can use template variables (TV’s) with it?
Example: #madboxr?w=320&w=280&url=[+default-image+]
As I’m using madboxr in ditto and want to have the images assigned by using a TV.
When I try it my links are displayed like this: http://www.domain.com/www/%3Cimg%20%20src=
Thanks in advance...
what did you put in the [+default-image+] ?? as far as I know it is not a TV but a placeholder, am I wrong?
Thnx for the replies!
Let me try to explain.
This is the template chunk for my ditto call:
<div class="dashop-image-float"><a href="#madboxr?w=320&h=280&url=[+default-image+]">[+thumb-image+]</a></div>
I put the links to the images in the TV’s:
[+thumb-image+] = the thumbnail image "assets/images/thumbnail.jpg"
[+default-image+] = fullsize image "assets/images/fullsize.jpg"
Am I doing something wrong?
Quote from: opt1k at Aug 15, 2008, 05:11 PM
Quote from: madmage at Aug 15, 2008, 12:25 PM
Quote from: opt1k at Jul 21, 2008, 11:20 AM
Nice work on Madboxr!
I was wondering how I can use template variables (TV’s) with it?
Example: #madboxr?w=320&w=280&url=[+default-image+]
As I’m using madboxr in ditto and want to have the images assigned by using a TV.
When I try it my links are displayed like this: http://www.domain.com/www/%3Cimg%20%20src=
Thanks in advance...
what did you put in the [+default-image+] ?? as far as I know it is not a TV but a placeholder, am I wrong?
Thnx for the replies!
Let me try to explain.
This is the template chunk for my ditto call:
<div class="dashop-image-float"><a href="#madboxr?w=320&h=280&url=[+default-image+]">[+thumb-image+]</a></div>
I put the links to the images in the TV’s:
[+thumb-image+] = the thumbnail image "assets/images/thumbnail.jpg"
[+default-image+] = fullsize image "assets/images/fullsize.jpg"
Am I doing something wrong?
Did you put the IMAGE or the URL TO THE IMAGE?
If [+thumb-image+] will be expanded as assets/images/thumbnail.jpg, so that’s ok, and there is some bug somewhere else but
if [+thumb-image+] will be expanded in the image itself, i.e. <img src="assets/images/thumbnail.jpg"> the snippet cannot work, it expects the URL, not the image!
Greetings,
Madboxr is great, I have just one problem with it... The first two times I click the link, only a blank box shows up. The third time it works perfectly.. Has anyone else had this problem and I have just missed it here in the forums somewhere?
Thanks!
Quote from: pancho4life at Feb 21, 2009, 12:55 PM
Greetings,
Madboxr is great, I have just one problem with it... The first two times I click the link, only a blank box shows up. The third time it works perfectly.. Has anyone else had this problem and I have just missed it here in the forums somewhere?
Thanks!
What do you mean with "blank box"? you mean a slimbox with nothing inside? are you using flickr images?
paste here the code you use to display the image ;-)
Yes, a blank slimbox. I was just using the example code you posted which displays google.
<a href="#madboxr?h=400&w=400url=http://www.google.com">Click here</a>
It’s strange, becuase on the third attempt (without refreshing the page) it shows up fine...Could I have messed up when copying the plugin, or have a version problem (I’m using the most recent)?