Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Photo Seller – Album name cutting off

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – Album name cutting off

Tagged: Albums, photo seller

  • This topic has 9 replies, 7 voices, and was last updated 7 years, 3 months ago by RickM.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • August 4, 2015 at 10:57 am #12944
    bwar
    Member

    Hi, I’m having a slight problem with the album titles being displayed on pages. When I go to any album page, the gallery titles are cut off and end with ‘…’ as opposed to displaying the full gallery name.

    For example, please see:

    [http://sdphotos.co.uk/albums/album15/]

    As you can see, the first gallery displays ’15/07/15 Race …’ and should display ’15/07/15 Race 1′

    Please could you advise on how to resolve?

    Regards

    August 5, 2015 at 12:41 am #71041
    admin
    Keymaster

    It always shows only a few characters of the album. When a user clicks on an album, it will show the full name with all the gallery and stuff in there. Otherwise if you put a long title for your album name, it can ruin the nice grid display on the album homepage.

    August 5, 2015 at 8:48 am #71042
    bwar
    Member

    Hi,

    Is there any way to disable it from showing just a few characters and actually make it display the entire gallery name?

    I would very much like for people to be able to see the Race Titles fully whilst within that view so that they can see which gallery to go into :)

    Regards

    August 5, 2015 at 12:01 pm #71043
    wzp
    Moderator

    If the user’s browser has the ALT text display enabled; the simple act of hovering the pointer over the truncated name displays a tooltip with the entire name.

    August 6, 2015 at 12:02 am #71044
    admin
    Keymaster

    Go to your “Albums” menu and select Album 2 for the “Album Selection Template” field. That album template shows bigger thumbnails with more characters for the title. So that should help.

    August 20, 2015 at 2:48 pm #71045
    bwar
    Member

    Hi

    It still didn’t quite show the whole name

    Is there a way to disable it from truncating the album name?

    Perhaps a line in the PHP that I can change?

    We are in desperate need for it to show the whole name so any help would be greatly appreciated.

    Best regards

    September 7, 2016 at 3:19 pm #71046
    Jarkko58
    Member

    Here is the trick (If someone in the future needs to do it..)

    If you use album 2 template do this to show 48 characters in the name:

    Open:

    wp-photo-sellerviewsalbumtemplate-2album-template-2.php

    Search:

    if(strlen($gallery_name) > 24){

    $gallery_name_short = substr($gallery_name, 0, 24).”…”;

    Change it to this:

    if(strlen($gallery_name) > 48){

    $gallery_name_short = substr($gallery_name, 0, 48).”…”;

    September 7, 2016 at 11:41 pm #71047
    Peter
    Member

    I don’t recommend modifying the plugin core code simply because we are always adding new features and updates to this plugin and you will lose your changes when you upgrade.

    I will see if maybe we can add a wordpress filter for this case which will negate the need to change the plugin code.

    January 8, 2017 at 5:25 am #71048
    horsepower
    Spectator

    Has there been a solution to this? If you modify template 1 to increase the length, then you can no longer sort the album by Name, or else it messes up the rendering of the page.

    March 4, 2018 at 2:03 pm #71049
    RickM
    Member

    Hi

    Just purchased this plugin and came here especially for this solution (to increase no. of chars under gallery names) – so thanks, and (for the next upgrade) could you consider increasing the Album thumb sizes – 250 and 300 would be good options – and this would also allow for more text underneath.

    Thanks

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ