Skip to main content

Support Policy

We only provide official support for Solidres's subscribers, all subscribers can request support by using forum or support ticket system. For more information please check our Support Policy at www.solidres.com/support-policy

Caption on simple gallery and on camera slideshow

More
9 years 3 months ago #9915 by gmonamour
Hi,
Is there a way to have a caption or description of the images of the gallery and camera?
It is enough to display the file image name.
Thanks a lot
Best regards

My site with Solidres www.gmonamour.it/

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #9921 by solidres
Hi,

It is not yet possible, we will move your topic into our feature request forum.

Regards,

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago - 9 years 2 months ago #10325 by gmonamour
Hi,
From pixedelic.com I see that the camera slideshow has the caption system.
I see that on the SR module camera slideshow there is the camera caption class but it is commented
I need the caption very much.
So, is the SR caption system under construction?
Thanks a lot
Best regards

My site with Solidres www.gmonamour.it/
Last edit: 9 years 2 months ago by gmonamour.

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago - 9 years 1 month ago #10530 by gmonamour
Hi,
until Solidres team implement a real solution with image name set from backend I find a simple solution to have the caption using the name of the file of the image.
It is very simple:
in the Layout > Gallery > default_style2.php(in my case)
Change the line from 23 to 32 with this
Code:
<div class="camera_wrap <?php echo $params->get('skin') ?>" id="reservation_asset_camera_<?php echo $input->getInt('id'); ?>"> <?php foreach ($displayData['media'] as $media) : ?> <div data-thumb="<?php echo $solidresMedia->getMediaUrl($media->value, $scope . '_small'); ?>" data-src="<?php echo $solidresMedia->getMediaUrl($media->value); ?>"> <?php $path=$solidresMedia->getMediaUrl($media->value); $imgname =pathinfo($path, PATHINFO_FILENAME); ?> <div class="camera_caption fadeFromBottom"><?php echo $imgname;?></div> </div> <?php endforeach; ?> </div>
Then add this instruction on your custom css to position better the thumbnail bar
Code:
.camera_thumbs_cont { margin-top:-80px;}
Done! ;)
Here you can see an example www.gmonamour.it/appartamenti-affitto-ca...grottammare/marina-p
By this way there is not a solution with MultiLanguage but but at least it's something done.
I hope that the solidres team fix that better!
Best regards

My site with Solidres www.gmonamour.it/
Last edit: 9 years 1 month ago by gmonamour.

Please Log in or Create an account to join the conversation.

Moderators: solidres

All the things you need to make your work easier. Did you like Solidres?