Title: Plugin change question
Last modified: August 21, 2016

---

# Plugin change question

 *  [teodorsavic](https://wordpress.org/support/users/teodorsavic/)
 * (@teodorsavic)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-change-question/)
 * 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?
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [teodorsavic](https://wordpress.org/support/users/teodorsavic/)
 * (@teodorsavic)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-change-question/#post-4216786)
 * 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](https://wordpress.org/support/users/teodorsavic/)
 * (@teodorsavic)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-change-question/#post-4216919)
 * 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](https://wordpress.org/support/users/teodorsavic/)
 * (@teodorsavic)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-change-question/#post-4217017)
 * bump! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin change question’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [slug](https://wordpress.org/support/topic-tag/slug/)

 * 3 replies
 * 1 participant
 * Last reply from: [teodorsavic](https://wordpress.org/support/users/teodorsavic/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-change-question/#post-4217017)
 * Status: not resolved