Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
Hello,

I wanted to know if we could use slimbox on a article page's images without declaring the template a gallery.

Used with a regular image type editable region.

Thanks
Alin,

Yes, of course, we can do that.
Either use simple repeatable-regions to attach multiple images with each cloned-page or, alternatively, use the technique described here - viewtopic.php?f=8&t=8559

Hope it helps.
KK wrote: Alin,

Yes, of course, we can do that.
Either use simple repeatable-regions to attach multiple images with each cloned-page or, alternatively, use the technique described here - viewtopic.php?f=8&t=8559

Hope it helps.


@KK, thank you, but I was looking for something that might be a lot more simple, like, opening only one image instead of a gallery, say for this single image:

Code: Select all
<cms:editable type='image' name='event_image' label='Event Poster' desc='W-335px x H-480px' crop='1' width='335' height='480' show_preview='0' order='8' />


How would I go to open this image on click the image thumb from below with the help of slimbox?
Code: Select all
<img src="<cms:thumbnail event_image width='150' />" />
I think the following should do it -
Code: Select all
<a href="<cms:show event_image />" rel="lightbox" >
    <img src="<cms:thumbnail event_image width='150' />"/>
</a>

The rel="lightbox" is what binds slimbox to the two images.
Hope it helps.
KK wrote: I think the following should do it -
Code: Select all
<a href="<cms:show event_image />" rel="lightbox" >
    <img src="<cms:thumbnail event_image width='150' />"/>
</a>

The rel="lightbox" is what binds slimbox to the two images.
Hope it helps.


Hey @KK, thanks, I was wondering something, do you know why (using the technique in the link you provided above) I can't delete the images inside the gallery? I can do anything except delete them :-? No error is presented, I just click to delete and nothing happens :-?

First time I made it, I was able to delete that first default page but after that, not anymore.

PS: I've just checked, I can't delete ANYTHING anymore, events, articles, nothing... :|
I can only say it is unexpected behavior, Alin.
Will need to take a look at the problem first-hand to know anything about its cause.
If your site is online, could you grant me temporary access to it please?

Thanks.
KK wrote: I can only say it is unexpected behavior, Alin.
Will need to take a look at the problem first-hand to know anything about its cause.
If your site is online, could you grant me temporary access to it please?

Thanks.


I just came to update the question when I saw your answer, out of nowhere it started working again :)) IDK what happened but I was thinking it could be a server security measure allowing only a number of modifications on the server in one hour's time, or something like that.

Cause I've been doing a lot of testing and adding/modifying pages. Does that make sense ?

Strange thing, anyway, everything worked except deleting.
7 posts Page 1 of 1