Contao Open Source CMS > Contao forum

Switch to german forum

Index > Feature request > lightbox images extended

planepix
Partner
Avatar
Posts: 2255
Stuttgart, Germany
Hi leo,

it might be great to be able to add a text for each image and each image and text be editable by css.

like:

iconQuote:
<div id="main">
<div class="mod_article">
<div class="ce_gallery" style="text-align:left;">
<table cellspacing="0" cellpadding="0" summary="Image gallery">
<tbody>
<tr>
<td width="50"><a href="tl_files/mysite/pipe1.jpg" rel="lightbox" class="lb_title" title="Pipe1"><img src="image.php?src=tl_files/mysite/pipe1.jpg&amp;width=100&amp;height=" alt="Pipe1" style="margin:2px" /></a></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>

where class="lb_title" can be accessed by css and the title attribut can be edited.

So each image can be accessed and for e.g. a border can be set arround.

for future ;-)
all best / beste grüße
planepix
2006-10-18 11:50
leo
Administrator
Avatar
Posts: 7042
Wuppertal, Germany
Hi Planepix,

that's almost impossible to do, as it would require a database to store this "meta" image information... Right now, images are stored in folders and there is no way to add any info like class or title...

See http://www.typolight.org/board/topic/35.html...

Meanwhile, I have added image caption to single images but there is no reasonable way to do the same for image galleries... It would require something like a "media manager" extension... By the way, how does phpWCMS handle it?

Regards
Leo
2006-10-18 13:15
planepix
Partner
Avatar
Posts: 2255
Stuttgart, Germany
Hi Leo,

thank you for your response.

ok caption for single image is quite nice to have.
May be it is usefull to have a ability to do for images also give a link, a pop-up window function with customisable size, appearance and a layout set by css.

Ofter agencies and smaller studios needed this showing referencies - as i remember these request from other cms...

yes phpwcms solved this by a internal media manager.

send you further detail via pn, ok?
Last edited by planepix, 2006-10-18 13:22
all best / beste grüße
planepix
2006-10-18 13:18
leo
Administrator
Avatar
Posts: 7042
Wuppertal, Germany
Ok... Thank you...

Regards
Leo
2006-10-18 13:23
leo
Administrator
Avatar
Posts: 7042
Wuppertal, Germany
Hi Planepix,

I forgot to mention one important image gallery feature: image file names are converted and used in the alt attribute of the image... It is very easy to use them in the title attribute of the link as well... If you e.g. upload an image called first_day_of_my_summer_holliday.jpg, TYPOlight automatically generates First day of my summer holliday as image caption (also shown in lightbox)...

iconplanepix:
yes phpwcms solved this by a internal media manager

By the way, I was not able to find this media manager... Where do I have to go?

Regards
Leo
2006-10-19 17:24
planepix
Partner
Avatar
Posts: 2255
Stuttgart, Germany
Hi Leo, yes have seen this.

file manager i under backend -> Datei, there you can browse trough and manage all files
all best / beste grüße
planepix
2006-10-19 18:04
leo
Administrator
Avatar
Posts: 7042
Wuppertal, Germany
Hi Planepix,

that's also a plain file manger and not a media manager (see TYPO3 if you want to know what I mean)... Still, I know now what to do and I really appreciate your help!

Thanks
Leo
2006-10-19 18:11
planepix
Partner
Avatar
Posts: 2255
Stuttgart, Germany
OK, you mean DAM in typo? Ok that's something deluxe ;-)
Then wcms file manager is really small.... but also easier to handle...
all best / beste grüße
planepix
2006-10-19 18:17
planepix
Partner
Avatar
Posts: 2255
Stuttgart, Germany
Hi Leo,

guess you know this:
http://jquery.com/demo/thickbox/

I will play a while and can give you some feedback.

nice that more than images can be handled with this.
all best / beste grüße
planepix
2006-10-19 21:06
leo
Administrator
Avatar
Posts: 7042
Wuppertal, Germany
Hi Planepix,

of course I know it, but as it uses AJAX and some similar techniques we cannot use it for TYPOlight, because this stuff is not accessible...

Regards
Leo
2006-10-19 23:46
planepix
Partner
Avatar
Posts: 2255
Stuttgart, Germany
ok thank you for feedback Leo.
all best / beste grüße
planepix
2006-10-19 23:51
lostrisq
User
Avatar
Posts: 64
Papendrecht, Netherlands
Is it possible to implement thickbox by hand?

I am trying to do it, but the thickbox overlay show up under my content. It works well outside typolight.
Does it somehow conflict with Typolight?

To see what I mean: http://www.pukt.nl/ditco/italian-wines.html
If you click on the 'cabernet sauvignon' link under Lemessi wines, you will see it shows up on the left bottom underneath the content.

If anybody has any experience with this, tips are more then welcome!

Thanks
2009-05-01 20:24
Toflar
Partner
Avatar
Posts: 1081
Lyss, Switzerland
The thickbox only works with jquery which, as far as I saw, you've installed correcty.
BUT: mootools which is used by TL originally and jquery could conflict with each other!

Maybe this might be of interest for you: http://docs.jquery.com/Using_jQuery_with_Other_Libraries
Try and let me know how you get on with this...
Viele Grüsse
Yanick
2009-05-02 15:11
lostrisq
User
Avatar
Posts: 64
Papendrecht, Netherlands
Hello Toflar,

Thanks for your reply.
I have read the article and tried the solutions, but none of them work.

Also found a topichttp://www.typolight.org/forum/topic/6180.html on this issue. I have tried that solution too, but still the lightbox appears bottom left underneath my content.

So this means it is working, but it is not positioning quite right....
2009-05-03 14:34
Toflar
Partner
Avatar
Posts: 1081
Lyss, Switzerland
Are we talking about the same issue and page? Because on the page you posted some posts above there are a lot of pictures of wine bottles...but no matter on which picture I click - I never get the picture shown up in the lightbox!

FF 3.0.10
Windows XP
Viele Grüsse
Yanick
2009-05-03 15:11