Image description

Permalink Browser Info Environment
Hi,

Is it possible to display image description instead of image title?

Thanks!

Type: Discussion
Status: New
guntars
View Replies: View Best Answer
jordanlev replied on at Permalink Best Answer Reply
jordanlev
Yes, but you'll need to edit the php files on your server.
Find this file:
YOURSITE/packages/simple_image_gallery/blocks/simple_image_gallery/controller.php

...and in that file, find this line (should be around line #53):
$image['title'] = htmlspecialchars($file['title'], ENT_QUOTES, 'UTF-8');

...and change it to this:
$image['title'] = htmlspecialchars($file['caption'], ENT_QUOTES, 'UTF-8');


-Jordan
guntars replied on at Permalink Reply
guntars
thanks a lot!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.