Title: Alt from filename
Last modified: December 2, 2022

---

# Alt from filename

 *  Resolved [paktas](https://wordpress.org/support/users/paktas/)
 * (@paktas)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/alt-from-filename/)
 * Our designers define the content that is inside the image inside the filename
   which equals to $ARTICLE_TITLE-$IMAGE-CONTENT.
    Is there a way to take FILENAME
   content, but remove hyphens (“-“) that are inside filename?

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

 *  Plugin Author [Pagup](https://wordpress.org/support/users/pagup/)
 * (@pagup)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/alt-from-filename/#post-16256317)
 * Hi,
 * Thank you for contacting our support.
 * About your question, it would be very custom to do so (and unique to your case).
 * Tt’s not possible.
 * Sorry.
 * Regards
 *  Thread Starter [paktas](https://wordpress.org/support/users/paktas/)
 * (@paktas)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/alt-from-filename/#post-16256923)
 * Not unique at all. Lots of plugins that remove hyphens from filename and put 
   it into `alt`.
 *  Plugin Author [Sajjad Ali](https://wordpress.org/support/users/the-rock/)
 * (@the-rock)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/alt-from-filename/#post-16257830)
 * [@paktas](https://wordpress.org/support/users/paktas/) That feature is already
   included in the Image Name option. Is it not replacing hyphens/dashes on your
   website? I just tested it on my end and it’s replacing them fine. Check this 
   screenshot. [https://i.imgur.com/sKXaajb.png](https://i.imgur.com/sKXaajb.png)
 * Also, it should replace any underscore or extra whitespaces with a single space
   and capitalize starting letter of each word.
 * Can you send us a screenshot/screencast of what it’s showing on your end when“
   Image Name” option is selected inside Bialty Settings?
 * Make sure your image names are including normal hyphens “-” and not em dash “—”.
   Kinda special long hyphens.
    -  This reply was modified 3 years, 4 months ago by [Sajjad Ali](https://wordpress.org/support/users/the-rock/).

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

The topic ‘Alt from filename’ is closed to new replies.

 * ![](https://ps.w.org/bulk-image-alt-text-with-yoast/assets/icon-256x256.jpg?rev
   =3485156)
 * [Bulk Auto Image Alt Text (Alt tag, Alt attribute) optimizer (image SEO)](https://wordpress.org/plugins/bulk-image-alt-text-with-yoast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bulk-image-alt-text-with-yoast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bulk-image-alt-text-with-yoast/)
 * [Active Topics](https://wordpress.org/support/plugin/bulk-image-alt-text-with-yoast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulk-image-alt-text-with-yoast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulk-image-alt-text-with-yoast/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Sajjad Ali](https://wordpress.org/support/users/the-rock/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/alt-from-filename/#post-16257830)
 * Status: resolved