1

(7 replies, posted in SimpleViewer v1)

:D thanks, I found a solution using something like this :
rtrim($titel, " .jpg")

2

(7 replies, posted in SimpleViewer v1)

wow, fast replies here!
Yes, I thought about that, but isn't there a more intelligent way, like some "trim"-function? Doing it manually would be too much...

3

(7 replies, posted in SimpleViewer v1)

I'm very thankful for this beautiful software and managed to integrate it to my content into our pages. There's one tiny problem I have:

How can I get rid of the ".jpg" after each picture-title? Any ideas?

This is the code in my builder.php so far:

$xml .= '<CAPTION><![CDATA['.$key.'<br>by photographer xy]]></CAPTION>';