• Hi!
    Some time ago, I noticed that nextgen gallery 1.9.13 has this line in manage.php file:

    $image->image_slug = nggdb::get_unique_slug( sanitize_title( $image->alttext ), ‘image’, $image->pid );

    This line is used (I think) to edit the image slug when the alt text is edited. I personally thought (and I still do) that this is unnecessary since it can make lots of “dead” links if e.g. someone posted an image to Facebook and then I edited the alt text, so I removed this line from manage.php file. Now, when I edited the alt text, the image slug remained the same.
    I’m now looking into the latest version of nextgen and I can’t find the command that does the same (so I can remove it)

    Any help?

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter teodorsavic

    (@teodorsavic)

    Also I want to report a few serious issues.
    I updated the plugin and all titles of the images were reset to the file names of images uploaded. I don’t know why this happened but it’s really an issue..
    e.g. I uploaded an image file sample_image.jpg. Nextgen automatically set the tittle sample_image and it was written above the image in imagebrowser view. Since it is not well formatted, I edited the image title to Sample Image and everything was OK. Now when I updated nextgen gallery, all the titles are reset back to sample_image.

    I believe this should be solved since it means that if I update the plugin, I need to edit over 20.000 image titles and that is impossible.. I’m sure that there are lots of websites that have way more images than mine does.

    Best regards!

    Thread Starter teodorsavic

    (@teodorsavic)

    Correction! I’m sorry.

    Not all image titles are reset. I misinterpreted that. After some time spent on the issue, I noticed that the plugin created a title on all images that had no title. So, if I had and image that already has a title, everything was fine, but if the image didn’t have a title the plugin created it by inserting the name of the image file. Is there any way to stop this? I have thousands of images with no title and now it created titles that are visible above the imagebrowser and it doesn’t look nice.

    Best regards!

    Thread Starter teodorsavic

    (@teodorsavic)

    bump! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin change question’ is closed to new replies.