Skip Navigation

[Resolved] Cannot Edit Own Image

This support ticket is created 5 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Author
Posts
#1364929
no-edit-image.png

I am trying to:

Allow subscribers to edit their own images as they upload them on a frontend post form. I have Access set up to control media to allow them to publish, delete own, edit own and preview. I also have Access set up on the Frontend form to delete own and edit own for the custom post type.

Link to a page where the issue can be seen:

hidden link (This is a members only page, so you won't be able to access it as a guest, I'll need to give you access on a staging site: hidden link)

I expected to see:
A link to Edit Image when using the WordPress Media manager. But no link to edit or delete shows up.

Instead, I got: No link

Also, on the staging site I have Featured Image showing on the backend for the custom post type Mothers. It's not on the frontend for or content template. I tried enabling it to see if using the WP featured image would show the Edit Image link but it does not.

In Addition, I have added a plugin, View As Admin, to switch between roles.

#1365233

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I checked on my local test install and I can see that when logged in as subscriber user if you try to upload image from Toolset form with custom image field using media uploader the image successfully uploaded but there is no edit or delete link displayed even though the settings is granted from Toolset access for Media post type for subscriber role.

I'll report this to our next level support. Please hold on for further updates.

#1366133

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

To display the Edit link with media uploader with forms:
Go to Acess Control => Custom Roles tab => Activate the adavanced mode => click on 'change permission" link available with the "Subscriber" role
=> with open popup with general capabilities checkmark upload_files capability
=> with other capabilities tab checkmark edit_posts capability

For delete link - please feel free to file a feature request using the following link:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1369035

I made those two changes, but when I log in as a subscriber (not use the role switcher plugin, but actually login) and upload an image in a form, I'm still not seeing an edit image link.

#1369765

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - I see that you added the same capabilities but still with the form when I try to upload the image as subscriber user I do not see the Edit image link with media uploader.

Can you please send me a duplicator package of your install.
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.

#1370033
#1371231

Hello,

Minesh is on vacation, I will take care of this thread.

I can log into your website, and see the problem, please try these:
Edit the post form "Add Mother"
hidden link
click "CSS Editor", add below CSS codes:

.toolset-forms-frontend-media-frame .attachment-info .edit-attachment {
display: block !important;
}

And test again