WordPress.org

Forums

ByREV WP-PICShield
[resolved] Custom Fields (Thumnbails) Problem Images not found (24 posts)

  1. iiyama
    Member
    Posted 2 years ago #

    There is a big problem with the custom fields images and display thumbnail from custom field on google images search.

    In my template i use (featured image thumbnail) in the custom field (Name: Thumbnail - Value : Image URL) or i use (Set featured image), this to have images on top of the post or in the featured slider and categories and search results.

    The problem is now these featured image get redirected when someone click on "view original image" get image-not-found error page.

    See this : http://www.google.co.il/search?hl=en&q=site:nesseq.com+featured&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.42661473,d.Yms&biw=1024&bih=677&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&tab=wi&ei=7ookUYrxOaLl4QSM9IHYCg#imgrc=7HC3ABuEz4WOcM%3A%3BHb33w9gwb4RcyM%3Bhttp%253A%252F%252Fwww.nesseq.com%252Fwp-content%252Fuploads%252Fet_temp%252FLoan-Guaranty-Fund-172446_178x178.jpg%3Bhttp%253A%252F%252Fwww.nesseq.com%252Ftag%252Ffeatured%252F%3B178%3B178

    How we can fix this and redirect it to the (single or attachment page) or at least redirect the site home page, it's very important, i don't want to keep sending my visitors to have error page.

    Thank you,

    Max / Nesseq.com

    http://wordpress.org/extend/plugins/byrev-wp-picshield-hotlink-defence/

  2. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    hi,

    Strange thing, is that the image is not found in postmeta! This should not happen if the image is uploaded using wordpress media upload.

    Q:
    1. You upload images from "new post" using wordpress media upload?
    2. After upload create a gallery that is attached to the post?
    3. You use Media Upload -> Add New page to upload that images ?

    I'll simulate these scenarios, and I hope to identify problem ...

  3. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    UPDATE:

    1'st of all:

    - make sure that you update to the latest version of the plugin
    - Upgrade Notice - IMPORTANT: After each update is required to enter in **Settings -> WP-PICShield (ByREV)** Config and confirm the new configuration options. Otherwise absolutely nothing changes !!!

    -------------------
    I tested the plugin with image upload from Media Upload -> Add New (Unattached) to post ... and is working! Redirect go to

    site.url/?attachment_id=4551

    -------------------
    Your example image url go to:

    http://www.nesseq.com/wp-content/uploads/et_temp/***

    et_temp Is not "standard" upload subfolder and file ended with

    _178x178.jpg

    instead of

    -178x178.jpg

    I think that's why is your problem , plugin not looking in post meta fields, for imageas that is not uploaded using wordpress standard upload.

    ------------
    Note:

    If use the image in several posts that there is an ambiguity in the return of the correct post.

    Of course there is a possibility of building dynamic pages based on search results, with multiple pots, but this is beyond what can make this plugin (yet).

  4. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    If you use "Set featured image" url must be found, because you can not choose images from ouside gallery (custom url) only from 'media library".

    Using custom field (Name: Thumbnail) is not a standard :) ... but plugin can adapt to your needs.

    I will add this "feature" in version 1.9 ...

    v1.8 will appear in minutes ...

  5. iiyama
    Member
    Posted 2 years ago #

    Thank you, i hope you will find a solution :) but how i can at least redirect these specific (custom fields images) from image-not-found error page to the home page maybe?

  6. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    hi. Update to 1.8.1b version and chose:

    under [Optional Settings] section:

    • Image Not Found page: => /
    • Image Not Found code: => 307 Temporary Redirect

    Click: [Update Option]

    Done !

    --------------------
    not-found images is redirected to your home page with "Temporary Redirect" response code.

    if you know WordPress and PHP, you can do a template page to display "not-found" images. Url for images is always sent in response to the parameter page

    example with home-page response and source images in url as $_GET request:

    http://publicphoto.org/?image=http%3A%2F%2Fpublicphoto.org%2Fpics%2F2013%2F02%2F09%2FIce-Crystals-on-a-Chain-Link-Fence__IMG_652121233.jpg&pid=-2

  7. lonperdionmelo
    Member
    Posted 2 years ago #

    Hello, thank you very much for your plugin, you can redirect size images? I say that for example I have a site of wallpapers in different sizes and smaller sizes again but redirect the single-size image opens in google but not redirect only the first time.

    excuse my language use the translator

  8. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    Redirection work 100% only if images is uploaded via wordpress Media Library Upload page.

    For photos direct-linked in post, uploaded via ftp, only the last post/page is returned.

    To further clarify and for more help write mail to: byrev @ yahoo . com

  9. lonperdionmelo
    Member
    Posted 2 years ago #

    if the images if redirected, but for example I have a site that serves images in other sizes 1920x1080, 1024x768, 1280x800 ... small but always redirect redirects the original just once.

    greetings and thank you very much

  10. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    did you update to the latest version of wordpress?

    Plugin is guaranteed to work with any size, if images is uploaded via wordpress Media Library page, otherwise may not be 100% functional.

    Get me yor url/site here or in email: byrev @ yahoo . com to verify the site behavior.

  11. lonperdionmelo
    Member
    Posted 2 years ago #

    I have no problems friend, thank you very much your plugin is great, many lucky in life

  12. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    How did you solve the problem with the "other sizes" images?

    Initially you said you do not work ... Have you changed something in plugin, or htacces ... or in your blog ?

    ... But what does it matter, important is that works !

  13. lonperdionmelo
    Member
    Posted 2 years ago #

    no, the problem is that the image to open once again see again, sorry this translator does not say what I mean, greetings and thank you very much

  14. lonperdionmelo
    Member
    Posted 2 years ago #

    1.8.7 When you take?

  15. lonperdionmelo
    Member
    Posted 2 years ago #

    well sorry, I just saw the error_log and I get this

    [25-Feb-2013 23:32:24 America / New_York] PHP Warning: imagecreatetruecolor () [ function.imagecreatetruecolor </ a>]: Invalid image dimensions in / byrev-wp-picshield.php on line 190

    and line 204 to the

  16. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    1.8.7 ... probably next minutes... is not fully tested !!!

    Resolve problems with redirection from bing, or other hotlinkers ... not perfect with Opera !!!

    (working ok with FF and CHROME)

  17. lonperdionmelo
    Member
    Posted 2 years ago #

    great, I look forward

  18. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    is UP ... hope will be ok :) ...

    if working with problem, http://wp-picshield.com/plugin/1.8.6b.zip is 1.8.6b version ... but so far seems to work fine.

  19. lonperdionmelo
    Member
    Posted 2 years ago #

    I downloaded it and thank you;)

  20. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    test it and tell me if it works well ...

    see u in 10 hours ...

  21. lonperdionmelo
    Member
    Posted 2 years ago #

  22. lonperdionmelo
    Member
    Posted 2 years ago #

    Hi, I get this error in the log

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in byrev-wp-picshield.php on line 233

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagecopymerge() expects parameter 2 to be resource, boolean given in byrev-wp-picshield.php on line 234

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in byrev-wp-picshield.php on line 236

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in byrev-wp-picshield.php on line 239

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagealphablending() expects parameter 1 to be resource, boolean given in byrev-wp-picshield.php on line 240

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in byrev-wp-picshield.php on line 241

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in byrev-wp-picshield.php on line 242

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagecopy() expects parameter 2 to be resource, boolean given in byrev-wp-picshield.php on line 246

    [26-Feb-2013 03:33:28 America/New_York] PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in byrev-wp-picshield.php on line 247

  23. Emilian Robert Vicol
    Member
    Plugin Author

    Posted 2 years ago #

    hi, thanks for details.

    try update to version 1.8.8b

    = 1.8.8b =

    * attempt at solving warning in logs: with Invalid image dimensions in byrev-wp-picshield.php on line ***

    and watch if warning messages still appear.

  24. robaleche
    Member
    Posted 1 year ago #

    Now work fine, offcurse this version 1.8.8b
    Thanks a lot

    http://www.cacoduro.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ByREV WP-PICShield
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic