Title: Remove size attributes from php code
Last modified: August 20, 2016

---

# Remove size attributes from php code

 *  [Jazoja](https://wordpress.org/support/users/jazoja/)
 * (@jazoja)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/remove-size-attributes-from-php-code/)
 * I think most of the size attributes (eg. width and height) should be eradicated
   from nextgen php code.
    I’m talking about the thumbnail html code where I find
   it confusing and unnecessary. Nowadays CSS is the way to do these kind of things.
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

The topic ‘Remove size attributes from php code’ 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

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jazoja](https://wordpress.org/support/users/jazoja/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/remove-size-attributes-from-php-code/)
 * Status: not resolved