PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Post thumbnail question

  1. apek
    Member

    Hi...this thumbnail really attract me to buy but i have one important question. I am looking for a form that users can submit photo as post submission in wordpress. I think this form has capable to do it.

    However, i am concern about one thing. Manually or using other plugin, i can generate post thumbnail in wordpress 3.0.1, but if i use this gravity form, can the post thumbnail of the image submitted by user from frontend be generated automatically?

    is there any way to it?

    Posted 14 years ago on Wednesday November 24, 2010 | Permalink
  2. Currently Gravity Forms doesn't set the post thumbnail. It is a feature we plan on adding in the future. It would be possible now, however it would be a customization and require using available API hooks and custom code you would write yourself. Right now people set the post thumbnail as part of their post approval process as a lot of people have Gravity Forms create the post as a draft and then approve/publish it themselves.

    Posted 14 years ago on Wednesday November 24, 2010 | Permalink
  3. apek
    Member

    hmmm...i want to use the form as photo submission blog which i dont need to approve the photo first or else the members will get bored waiting for the approval. how about the parameter? can the parameter do it? at least set the parameter value as the thumbnail custom field name and thumbnail custom field key?

    Posted 14 years ago on Wednesday November 24, 2010 | Permalink
  4. I'm not sure how the post thumbnail/featured image functionality stores it's data. If it uses custom fields then it could be possible to populate the necessary custom field values if you know what the key/values need to be.

    Posted 14 years ago on Wednesday November 24, 2010 | Permalink
  5. apek
    Member

    well..i guess i have to wait for this feature to be available in gravity form before i can buy it :(

    thanks for answering

    Posted 14 years ago on Wednesday November 24, 2010 | Permalink
  6. Hello Mate,

    I required similar functionality and posted the code I use here: http://forum.gravityhelp.com/topic/file-location

    Format the css however you like, but the base concept is it retrieves a single image from the post and displays it (in the code example the title and excerpt are used as well) and also makes it a clickable link.

    An example usage would be to run the code and display it with CSS kinda like this:

    [image] [post title]
    [post excerpt]

    Posted 14 years ago on Wednesday November 24, 2010 | Permalink
  7. apek
    Member

    hi urmedia...i dont understand your tips here. can you give your email or IM so we can talk further? i dont want to flood this thread with our discussion.

    Posted 14 years ago on Thursday November 25, 2010 | Permalink
  8. Howdy,

    I'm not so comfortable posting contact information publically, but if the admins are so inclined they can forward my email address to you.

    Take special note, however, that I am a Joomla programmer and only recently entering into the WordPress world. My advice isn't based on expertise with WordPress, just with my own experiences with the CMS and Gravity Forms.

    For my own purpose, I needed wordpress for a job board website where workers can upload their images. A thumbnail image, along with a post excerpt is displayed for employers. I use GF to achieve the form data.

    I'm thinking the 3 creators of GF are in over their heads with regards to how fast their plug-in became popular, and are thus unable to actually help anyone directly with code reference or guides...but they do state they are building a knowledge base so you can always utilize that when they finish.

    Posted 14 years ago on Thursday November 25, 2010 | Permalink
  9. apek
    Member

    hi urmedia..u can mail me at apek.friday [at] gmail [dot] com. this is my not so useful mail, usually use for just subscribing anything.

    fyi, i solved my problem by using get attachment wp hook to achieve this since GF not interact the post thumbnail.

    hope we can stay in touch! i also work with joomla but WP is my all time crush.

    Posted 14 years ago on Friday November 26, 2010 | Permalink
  10. Interesting. Let me know how that works out for displaying multiple posts.

    I ran a test using just the built-in WP get_attachment and had some display issues. It didn't display consistant images from posts over 20 posts @ 10 posts per page. Basically only 70% of the images displayed. hence moving to the array version as posted.

    Posted 14 years ago on Friday November 26, 2010 | Permalink