Title: Found error in code for image loading
Last modified: January 11, 2017

---

# Found error in code for image loading

 *  [iamalbert](https://wordpress.org/support/users/iamalbert/)
 * (@iamalbert)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/)
 * There is a certain [problem with image loading described in this topic](https://wordpress.org/support/topic/images-with-posts-not-showing/).
 * We found the error.
 * It is about lines (images) which are not including spread data `"data-src"` or
   for those pics which are set not to use `data-smartload`. As far as I understand
   the idea, it should load pics as is.
 * Actually, this check up function is not working at all due to odd exclamation
   mark:
 * `if ( false !== strpos( $matches[0], 'data-src' ) || preg_match('/ data-smartload*
   = *"false" */', $matches[0]) )`
 * We removed the exclamation mark and it is fine now.
    Please fix this error and
   include it to the next update!
    -  This topic was modified 9 years, 4 months ago by [iamalbert](https://wordpress.org/support/users/iamalbert/).

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

 *  [Denzel Chia](https://wordpress.org/support/users/denzel_chia/)
 * (@denzel_chia)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8644747)
 * Hi,
 * Just notified theme Author, please wait for reply,
 * Thank you
 *  [jamestourbites](https://wordpress.org/support/users/jamestourbites/)
 * (@jamestourbites)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8645371)
 * Hi,
    I’m sorry to get in on this topic but I’m new to wordpress and having some
   issues with resizing images. But first of all: how do I start a new topic?
 * After clicking on a tag I finally found topics relating to that tag but no option
   to ask my own question.
 * Can you point me in the right direction?
 * Thanks in advance
 *  Thread Starter [iamalbert](https://wordpress.org/support/users/iamalbert/)
 * (@iamalbert)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8646776)
 * Thanks Denzel
 *  Thread Starter [iamalbert](https://wordpress.org/support/users/iamalbert/)
 * (@iamalbert)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8646802)
 * You can start new topic here [https://wordpress.org/support/theme/hueman/](https://wordpress.org/support/theme/hueman/)
   
   just scroll all the way down to see the posting form please, do not offtopic 
   here
 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8646933)
 * Hi [@iamalbert](https://wordpress.org/support/users/iamalbert/), before diving
   into technical consideration, I’m not sure to fully understand your problem reported
   here [https://wordpress.org/support/topic/images-with-posts-not-showing/](https://wordpress.org/support/topic/images-with-posts-not-showing/)
 * Can you explain me step by step what I need to do to reproduce the problem
    ?
   Typically that would look like : 1) in admin go to Media > upload new 2) select
   this option 3) then go to the customizer 4) do the following action
 * Additional screenshots are welcome !
 * Thank you very much
    -  This reply was modified 9 years, 4 months ago by [presscustomizr](https://wordpress.org/support/users/nikeo/).
 *  [cdroom](https://wordpress.org/support/users/cdroom/)
 * (@cdroom)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8650728)
 * And repeat all this steps for all site images since 2000…
    Post about images 
   without “data-src” in IMG tag.
 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8650766)
 * [@iamalbert](https://wordpress.org/support/users/iamalbert/), we’ve opened an
   issue about this on github. Thanks for reporting the problem.
 * [https://github.com/presscustomizr/hueman/issues/394](https://github.com/presscustomizr/hueman/issues/394)
    -  This reply was modified 9 years, 4 months ago by [presscustomizr](https://wordpress.org/support/users/nikeo/).
    -  This reply was modified 9 years, 4 months ago by [presscustomizr](https://wordpress.org/support/users/nikeo/).
 *  Thread Starter [iamalbert](https://wordpress.org/support/users/iamalbert/)
 * (@iamalbert)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8650884)
 * Dear Nicolas [@nikeo](https://wordpress.org/support/users/nikeo/)
 * The thing is that my site works on WP since 2006 (more than 10 years) and many
   images in posts already inserted as URL link, not mediafile.
 * The problem is absloutely clear – those pictures which are inserted as URL – 
   are not visible untill you remove the “!” in above mentioned function.
    Pictures
   whish are inserted as **mediafiles** are ok.
 * Here is the screenshot (sorry for cyrylic interface :))
    [http://take.ms/hDXTs](http://take.ms/hDXTs)
 * Do I need to explain more?
    -  This reply was modified 9 years, 4 months ago by [iamalbert](https://wordpress.org/support/users/iamalbert/).
 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8650978)
 * [@iamalbert](https://wordpress.org/support/users/iamalbert/) ok.
    we’re on it
   thanks

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

The topic ‘Found error in code for image loading’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [Pictures](https://wordpress.org/support/topic-tag/pictures/)

 * 9 replies
 * 5 participants
 * Last reply from: [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/found-error-in-code/#post-8650978)
 * Status: not resolved