Multiple forms and Featured image error
Author | Posts |
---|---|
May 14, 2013 at 11:45 pm 3634 | |
Tareq Hasan | Hi there, To start great plugin! works like a dream, I have 3 forms on one page for creating different kinds of posts, there in a tab format. The problem is when i click "add featured image" nothing happens unless i am on the first tab, but the upload form open 3 times. This doesn't happen with the upload form if the meta-keys are different, but i don't have the option with the main "thumbnail/featured image" is there anyway i can fix this? Many thanks in advance, Jonny |
May 15, 2013 at 6:46 am 3641 | |
Tareq Hasan | Hi Jonny, I fear there is no solution for this. It’s a JavaScript related issue. As the plugin uses ajax image uploader and it works based on the ID, all the featured images have same ID. So it works like that. |
May 15, 2013 at 9:25 am 3643 | |
Tom | So theres no way i can change the ID? thanks again, Jonny |
May 15, 2013 at 9:30 am 3644 | |
Tom | If i used an “upload image” input rather than the “featured image upload” |
May 15, 2013 at 4:14 pm 3684 | |
Tareq Hasan | Sorry, I don’t think you can do this currently. You could use different custom fields for different forms as the featured image. Then in the single post, you could check for images on those custom fields and show the image if found. In order to do that on dashboard, it has a filter for default image if the featured image not found. You could take advantage of that filter and show the appropriate image. |