It is currently Tue Feb 20, 2018 6:03 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Image Descriptions
PostPosted: Tue Dec 10, 2013 8:56 pm 
Offline
Komusubi
Komusubi

Joined: Tue Dec 10, 2013 8:54 pm
Posts: 25
Hello,

I am having an issue with the image descriptions. I would like the description to show either under or over the thumbnail is this possible? I have changed the description in the image manager but all that does is change what it says when you hover over the image.

Can someone please help

Thanks,

Phil


Top
 Profile  
 
 Post subject: Image Descriptions
PostPosted: Tue Dec 10, 2013 8:56 pm 
Top  
 Post subject: Re: Image Descriptions
PostPosted: Tue Dec 10, 2013 10:04 pm 
Offline
Komusubi
Komusubi

Joined: Tue Dec 10, 2013 8:54 pm
Posts: 25
Ok I found a solution for getting the names under the thumbnails

viewtopic.php?f=5&t=11#p454

But now how can I add some bold centering font size etc


Top
 Profile  
 
 Post subject: Re: Image Descriptions
PostPosted: Mon Dec 16, 2013 10:23 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
Well the best solution that I could think of would be to add a CSS class to the captions.

If you check my example:
Code:
$html.='<p style="font-size:110%;">'.$AG->writeDescription($imageName).'</p>';

You can see that this was a quickfix dirty solution :)
Better solution would be:
Code:
$html.='<p class="captionsUnder">'.$AG->writeDescription($imageName).'</p>';

and add captionsUnder to the template CSS file. Now you can easily change caption style, change font size, bold the text...

_________________
Help Admiror Gallery become even better,
give us a review on JED


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group