Before you ask please READ THIS

Portfolio image description/caption

edited March 2013 in Skyfashion Posts: 1
Hi there,

I'm trying to add a short description for each image within a portfolio post. I've tried adding the text to the image through the media library but it doesn't display.

It's there an easy way of implementing this?

Thanks

Comments

  • Hi,
    how you would like to display this description?

    Best,
    Miłosz
  • I really need captions to show for the images in Portfolio. How do I get them to display?

    thanks
  • edited April 2013 Posts: 493
    Hi lingo_social,

    Could you show me this feature on our demo? (http://themes.apollo13.eu/skyfashion/).
    If not, send me a screenshot, what do you really want to display.
    Post edited by Argone on
  • Yes sure, I've grabbed a screenshot from the Skyfashion demo - I need to have a caption associated with each portfolio image.
    Screen shot 2013-04-30 at 11.29.57 AM.png
    1280 x 800 - 577K
  • edited April 2013 Posts: 493
    Hi lingo_social,

    Skyfashion actualy doesn't support this feature.
    If you want to add a caption:
    1.
    2. Edit file into theme skyfashion common/js/scripts.js
    3. After
    
    jQuery(document).ready(function ($) {
    
    add this function:
    
    if ($('#portfolio_photos a').length) {
            $('#portfolio_photos a').each(function() {
               $(this).attr("title",$(this).find("img").attr('alt'));
            });
        }
    
    4. In WordPress when you are editing images in porfolio there is a text field "Image attributes". Add your description into: alt="here add your description".

    Let me know if this works for you.

    Kind regards.
    Post edited by Argone on
  • Fantastic, that worked. Thanks very much!

    (It's probably a good feature to add into the next version, as most images need at the very least photo credits).
  • Posts: 493
    Hi lingo_social,

    Thank you for your advice.

    We are now creating the new version and this is one of new features.

    Kind regards
Sign In or Register to comment.