Skip Navigation

[Resolved] post form , no image upload box showing on form

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 9 replies, has 2 voices.

Last updated by martinP-13 1 month, 4 weeks ago.

Assigned support staff: Waqar.

Author
Posts
#2147307

Tell us what you are trying to do? have a post form here hidden link feature image upload box appears if i add to the cred form ,even if image thumbnail is selected the image is huge after post made example hidden link

i dont want to use feature image so i remove field in form and add a normal image instead , this field does not appear on the form.

form is here hidden link

my site also has maps in theme , it uses

cp_street for street
cp_city for city
cp_state for state
cp_country for country
cp_zipcode for zip

or if i want to use single line address: _cp_address

how can i add these to the form so user can input address?

please mark my next reply private so i can send login details

thanks
martin

#2147475

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Martin,

Thank you for contacting us and I'd be happy to assist.

I'm setting your next reply as private, so that you can share temporary admin login details.

Note: Please make a complete backup copy, before sharing the access details.

regards,
Waqar

#2149227

ok i have evolved from the original question.

i have 4 post forms here: hidden link

i have 4 as each go to a different ad category automatically using

add_action("cred_save_data", "my_save_data_action2",10,2);
function my_save_data_action2($post_id, $form_data)
{
// if a specific form
if ($form_data["id"]==24989)
{
$ad_cat_ids = array(1313); // replace your category ID
wp_set_object_terms( $post_id, $ad_cat_ids, 'ad_cat');

}
}
and 3 other same as this example(diff name so all work ok)

i have ad catergory lost and found (parent) and 4 sub ad catergories , lost,found,stolen,suspicious activity
the ads can be viewed here ,hidden link , you will notice the then ads image is not being resized too
321.25 x 237.09 as the rest of my site does , example here hidden link.

this image is set from the post forms featured image.

once you open the advert the image is ginormous , click any adverts in the examples above to see ...

so how can i get the thumbnail in the category the correct size(hidden link)

and how can i get the image the correct size once inside the advert ?

ideally i would be able to insert numerous images from the post forms so it created a gallery (like the rest of the site does)

is this do able? as it sits its not very pretty!! any solution will be awesome ,thankyou

kind regards martin

#2149231

the map part has evolved also so please ignore that part for now,thankyou waqar

#2149705

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for sharing the admin access and the updates.

During troubleshooting, I noticed that all the images which are not showing correctly are shown in the "large" image size.

If you'll go to WP Admin -> Settings -> Media, you'll see that the image size "Large" is set to have unusual and very elongated dimensions of 1200 x 9999 ( width x height ).

By default, the dimensions of this size are 1024 x 1024.

As a result, any images that you're uploading now, their copy in large size is being generated in these unusual dimensions.

I'll recommend changing the width and height values of this size to more usual values and then regenerate all image thumbnails, using a plugin like "Regenerate Thumbnails".
( https://wordpress.org/plugins/regenerate-thumbnails/ )

#2149773

thanks,worked perfect, once i corrected those dimensions the thumbnails are also correct!!
how can i add an image gallery to the cred post for the user to upload say max 10 images?

many thanks

#2149809

also (more important than images)
the 4 post forms above use a adress field ,
on the posts the map and marker show up fine
i have 4 views to show different markers for the 4 forms

i am trying to now have all the markeres for the posts show on ONE map,
this page here dispalys the map via shortcode
and the view to try to get all the markers for the 4 forms is here
[wpv-view name='map-for-lost-and-found-top-level' ]

#2150113

i have made progress on the maps
i have ad category as follows

Dogs Lost And Found
--lost
--found
--Suspicious Activity
--stolen

the 4 sub ad categories have
a post form each which post to the correct sub ad cat automatically
a view each so I can have different map icons

the parent ad cat is here hidden link
it uses the view hidden link

here are the problems
there are 6 ads in the parent ad cat ,all six show on the maps , but not on one map ?
for some reason there are 6 maps with a pin on each advert ?
so basically there are 6 maps ,1 for each advert the pins for each map is correct.

so the questions are , how do i make the 6 maps into 1 map with all 6 icons on that map ,and use the map icon that is assghned to the sub category .

the end goal is to add a distance filter and a filter to select which pins to see on the map

thank you waqar sorry for the long post.

New threads created by Waqar and linked to this one are listed below:

https://toolset.com/forums/topic/split-converting-markers-from-multiple-maps-into-a-single-map/

#2152609

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for the update and sorry about the delay in getting back on this.

I've created a separate ticket for your question about the multiple maps and will reply to it shortly.
( ref: https://toolset.com/forums/topic/split-converting-markers-from-multiple-maps-into-a-single-map/ )

You're welcome to mark this ticket as resolved and start a new one for each new question.

#2152793

My issue is resolved now. Thank you waqar perfect usual!