Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

Get the Image with Query Posts using custom image fields

  1. Hi again - back for more.....
    I am using Query Posts to create a custom home page directory
    I have get the image installed.
    I would like to show thumbnails besides each excerpt
    My images are stored in custom field called my_image and I use full URL path to store them
    (i.e. http://domainname.com/images/imagename.jpg )

    I edited the array field in get the image to the following:

    Code deleted by the administrator. In the future, please post code between backtick characters so that it appears correctly on screen.

    No joy. What have I missed here?

    TIA

  2. You must be a logged-in exclusive member to view this reply.

  3. Plugin restored

  4. You must be a logged-in exclusive member to view this reply.

  5. Ask the risk of seeming idiotic for option 1 :

    I add the image in custom field named Thumbnail or thumbnail
    Can I use the full path or a relative path to the images?

    Thanks!

  6. You must be a logged-in exclusive member to view this reply.

  7. got it . thanks. one more assumption is the size of the image the size that gets shown? meaning there are no size image controls at this time?

  8. You must be a logged-in exclusive member to view this reply.

  9. Justin,
    What is the standard add filter code to use with the get the image plugin?

    TIA

  10. You must be a logged-in exclusive member to view this reply.

  11. function getimagefunction() {
    get_the_image(array('image_scan'=>true));
    
    }
    add_filter('the_content', 'getimagefunction');

    this displays the image but removes the rest of the content
    any suggestions?

  12. not sure if your problem is solved ... but your function replaces the_content ... there are many tutorials around gooogle is your friend :D - if still questions arise ask them :D

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Core Framework (54 posts)
  • Hybrid Theme (22,711 posts)
  • Bliss Theme (255 posts)
  • Options Theme (10,362 posts)
  • Visionary Theme (767 posts)
  • WordPress (144 posts)
  • WordPress Plugins (2,146 posts)
  • bbPress Themes (308 posts)
  • General Discussion (5,572 posts)
  • Critical Theme (0 posts)
  • Hybrid News Theme (132 posts)
  • Hybrid Original Theme (26 posts)
  • Leviathan Theme (16 posts)
  • Life Collage Theme (9 posts)
  • Old School Theme (3 posts)
  • Outline Theme (108 posts)
  • Skeleton Theme (40 posts)
  • Structure Theme (2,768 posts)
  • Members Plugin (2 posts)
  • Cleaner Gallery Plugin (14 posts)
  • Get the Image Plugin (3 posts)
  • Message Board Plugin (0 posts)
  • Widgets Reloaded Plugin (0 posts)
  • Breadcrumb Trail Plugin (0 posts)
  • Query Posts Plugin (80 posts)
  • Hybrid Hook Plugin (7 posts)
  • Hybrid Hook Widgets Plugin (0 posts)
  • Hybrid Tabs (5 posts)