Code

Discussion on ImagePress

Discussion on ImagePress

Cart 785 sales

butterflymedia supports this item

Supported

This author's response time can be up to 2 business days.

477 comments found.

When using this option to display single image
 Using the included template will display the image using the imagepress/templates/single-image.php template. The layout may not match your theme's layout.
I get a blank page. The file is where it should be and the other two option work. Any ideas to trouble shoot?

Also how to assign award to an author?

You first create the awards in Users -> Awards, then go to each user’s profile and assign one or more awards:

The media library bulk upload isn’t allowing me to select more than one image in the media library. Am I missing something?

Hello When we upload images larger than 4 Mb. Do we get a 503 memory error. If we then refresh the page, the image has been uploaded, but it is not shown as a thumbnail, here there is just a white background. Then we have to click on it and then the picture will appear. It is only in imagepress that the problem is. If I upload the same image in the media library there is no error. I have set the maximum size for upload. We use a Cache plugin, but nothing helps. Any idea what’s wrong here?

Hi Jonas, sorry for the delay.

This is a server issue. What is the maximum upload size? This sometimes happens, when the max size is 2 MB. Check your server maximum upload size and maximum POST size.

You can see this information either in your host’s control panel, or in WordPress, Tools -> Site Health:

Is the shortcode

 [imagepress mode="rand"]
depreciated for
 [imagepress type="rand"]
?

Use the “type” argument for “rand”.

“mode” is used for “views” or “likes”.

Presale Question: My site has users who are by default using the Subscriber role and will never publish posts etc. They will however need to upload photos (privately) into their profile. I believe your plugin (I tested the free version) needs to use the author role? Is there any alternative to this so that the users can just upload their own photos to their profile? I’m also using a membership plugin but your imagepress loop shortcode shows all images, and users should only see their own but I dont want to use the specific [imagepress-loop user=”7” shortcode as I have 500+ users and I’m not setting up individual pages for each with their user ID. Any suggestions on how I can use your plugin for these situations? Or am I making a mistake in how the plugin works?

So, you can use the profile pages which only show each user’s photos. Something like this:

https://getbutterfly.com/gallery/profile/?author=ciprian

The thing with the subscriber vs author role is a native WordPress feature, and subscribers have no default upload permissions. Nothing I can do here. You could use the Role Editor plugin to edit the Subscriber’s permissions. I cannot touch it, as it’s a native WordPress role.

When you say your users will never publish posts, it’s not true. Images are custom post types, so your users will upload (and maybe edit or delete) posts.

So, this is how I understand your scenario:

1. You have a membership plugin which allows access to an image upload page. 2. No need to use the ImagePress loop 3. No need to set up 500+ pages, only one – the Profile page 4. You will need to use a role editor plugin (there are few good free ones) to allow Subscribers to add posts.

Regarding your “they will however need to upload photos (privately) into their profile” – you will need to make the Profile page members-only.

I think this should solve your issue.

BRILLIANT THANK YOU!!!! I appreciate your speedy and detailed answer. I will test it.

Thank you, I fixed it.

Don’t recall if you said the category gallery shortcode [imagepress-categories gallery=”https://www.example.com/gallery/”] was linking to actual category in the latest version. If it is is there a way link the the category slug

BYW your documentation page is down

Sweet tried it and it works. It has category slug as well.! Are there any parameters like thumbnail or parent etc? Or is it just the list.

No, nothing right now, just the list :)

I already have your thumbnail suggestion on my list for a future release.

Ok it would be nice to be able to set so only top level categories and not sub categories showed in the list. But this is great since I still can’t get the other option to yield a image galley

Thanks again

Upgraded to the latest version 8.2 is there documentation for be sidebar pattern any where? Didn’t see it on the documentation site.

Yes, but it would require custom code changes that would break other implementations.

I will add this to my list to research it.

Keyword in shortcode is it possible?

Not right now, but I should be able to add it in a future version.

I’m using the [imagepress category=”homepagepics” type=”rand”] to display a random image on my Welcome page. The image is low quality. It appears to be a thumbnail image scaled up by my theme. How do I get the actual image to be displayed.

Also it seems to heavily favor one pic. Doesn’t seem random at all. (Could be browser cache though)

Go to ImagePress Settings -> Configurator tab and select a different image size. That will fix the low quality image.

Regarding the randomness, I am using a native WordPress function, which in turn uses a MySQL RAND order. I could blame this on cache, especially if you are logged out when you view the page, and a static HTML cached copy is created.

Hello

I just bought ImagePress. Basically, it’s a nice plugin. However, I think there are some challenges.

1. I cannot decide myself which fields should be displayed in the upload form. For example, I don’t want them to select collections, but I can’t remove the field.

2. It seems I’m missing some things in settings in the backend. I can see in your documentation that I am at least missing the following fields: Login, Hooks, and the four icons (Alarmbell, envelope, modules).

3. I miss a lot of settings. For example “Author profile” where I can set how the profiles should be displayed. In addition, according to the screenshots you have, I am missing many more settings in my control panel.

I have purchased version 8.1.8. I have Wordpress version 6.2.2

Can you tell me what I can do?

www.fotolangeland.dk

Thanks in advance.

Hi and thank you for your purchase.

The missing fields in the documentation are my mistake. They came with a specific theme, but this is not the case any more.

So:

1. I will add an option to add/remove fields in the upload form.

2. The alarm bell was a notification dropdown hardcoded in the theme. Obviously, I can’t have a theme forced to my users, so I need to expose this as a shortcode, and you can add it wherever you want. The modules are now part of ImagePress: Bulk Upload and Image Lightbox.

3. The Author profiles are there, and this week I have added 2 new options.

So, all in all, valid points. I wanted to push another release this week, but I’ll hold on until next week, when I will address ALL your questions. I will also update the terribly outdated documentation.

Thanks.

Here’s an update:

If you currently have version 8.1.8, you should see an update notification for 8.1.9 in your WordPress back-end. Update the plugin and test the collections. They are now publicly visible.

Note that 8.1.9 is not yet available on CodeCanyon. I am only pushing it to several users for testing.

Also, the Hooks tab on the documentation page was a developer only tab, nothing special there. The Users tab has been moved to the Authors tab. The envelope icon was used for some email options, which have also been moved (or removed completely).

Note that another huge update is coming next week.

If you are planning on Pid member pro integration please consider Buddypress as well

I am actually going to code a hook, so that all membership plugins can be targeted.

Basically, on the single image page there will be a hook, let’s say called “more_actions”.

Now, anyone could add content to this hook in another plugin. I will have some samples and custom code. I am setting up a demo website now, and I am also bringing back the Noir UI theme, specifically coded for ImagePress.

Oh, the memories…

Look forward to seeing the documentation

Hi, I have a pre-sale question, there is any way to restrict the full-size image only for a certain user role?

There is no license for that, but I will help.

I’ll be glad to tip the same I pay for the plugin, how do we proceed? Also, if the server only uses Apache, do we have a problem?

I recommend Apache, actually, instead of Nginx. I am using Apache on all my sites.

Also, I cannot help today or this weekend. Email me at ciprian@getbutterfly.com and we’ll pick it up from there.

Loving ImagePress so far! Not really understanding why there are Categories and then Collections. They seem to be the same thing.

I have created a category called HomePagePics. I would like to display a random photo from this category. Can I combine shortcodes into something like [imagepress-loop category=”homepagepics” type=”rand]

Also I’d like all photos to go into a default category (even if that is no category). Then have that pre-selected in the dropdown. Is that possible?

Thank you!

The new release, later tonight, will contain combined shortcodes, such as:

[imagepress category=”homepagepics” type=”rand”]

And also a new option for a default category, in ImagePress Settings -> Settings tab -> Image Category Settings dropdown.

Is there a changelog for the latest update?

I’m having trouble with the member directory feature. I followed the instructions in the documentation but when I try to add the [ip-member-directory] shortcode I either cannot even save the changes, or get a crashed page.

I was using [cinnamon-card] instead which was working for me, except that the pagination is all messed up, and we only discovered the issue once we started creating accounts for our members.

I can only assume that its making enough pages to accommodate all the users (over 100) but only showing users who have uploaded content so far (less than 10 since this is a prototype site) I tried just changing the settings in the configurator to show over 100 authors per page in hopes that would just put everyone, including invisible, inactive users together on one page, but that didn’t seem to change anything at all. You can see the site here https://prototype.d1mg.com/gva/gallery-2/ It seems to account for the inactive members regardless of if they are authors or not. I tested this by temporarily making the inactive accounts subscribers but to no avail.

Ideally I would have a list of only “author” users, with links to their profiles and a few of their images if they have some. But we would also just settle for a list of users profiles who have uploaded images either with normal pagination or everyone in one long list all on one page

Hi again!

How would the name ordering work? Based on last name? First name?

Thanks again for the support! I spoke to the client and they are requesting ordering by Last Name

It’s coming next week :) thank you!

Watermark option would it be difficult to add a watermark option?

I had a client who used a plugin to prevent right clicks. That helped a bit with users right-clicking the images and saving them.

Maybe one of these?

https://wordpress.org/plugins/disable-right-click-for-wp/ https://wordpress.org/plugins/wp-content-copy-protector/

Yeah don’t need to add another plug-in just for that at this point

Okay, no problem.

How to I get the category list displayed with this shortcode to open a page with actual photos in a category?

[imagepress-categories gallery=”https://www.example.com/gallery/” ]

Well, you cannot set images for post categories natively. It needs to be coded.

I can do that, but it’s not going to be that soon.

Hmm interesting. Every WP image plug-in I have used had category thumbnails so I just thought that was standard. maybe it’s built into my theme.

I will close this, as categories can have images now, without an extra plugin.

How can I set the size of the image returned by this shortcode

[imagepress type=”top” ]

Also tried to set the grid image size to 150×150 the WP thumbnail but it doesn’t change. Finally can the login and registration be directed to exiting pages that I have for those purposes?

I know. It’s the same for me. The image is scaled up to fit the image card. The solution is to select another square size (ImagePress comes with a default 250×250 image size), see screenshot below:

https://getbutterfly.com/wp-content/uploads/2023/06/screenshot-2023-06-19-113936.png

Any chance for a image card options to fit 150×150 thumbnail? really prefer that size.

But there is no difference between 150×150 and 250×250. They are both square. And the image cards are 3 per row. An alternative would be to have 4 or 5 per row.

I can add an option for images per row in the next version.

Image of the day? Is it possible to implement a image of the day to display different random image everyday?

Got it figured the post type is changed if the slug is changed. May want to up date the documentation.

Is there code to put the views, likes and comment count on the single image page I am using the single image code with my theme single template

Not right now. The entire single image code is currently inside one function call.

Maybe in a future release I will split the main image and the rest of the code.

Created the gallery archive template using the instructions but not sure where to place it to make it available. Right now in child theme folder. But is doesn’t show in template list

So, the template code can be implemented, but it depends on the theme. Some themes respect it, some don’t. Some themes have a specific way of implementing taxonomies.

Why do you need a taxonomy/archive template instead of the [imagepress-loop] shortcode?

Currently in my theme the image loop isn’t what shows in the breadcrumbs it uses the theme default instead of the image-loop

Ah, true. I’ll play with it and see what I can come up with.

Note that I really, really want to change the taxonomy name, because “imagepress_image_category” sounds very bad. I want to change it to “category” or “type” or “section” or “topic” or even “image-category”.

I’ll keep my end-of-week estimate for a beta taxonomy template. I’m sure it’s something small, and I can fix it quickly.

Just purchased yesterday but upon activation I get this error and theme icon are being distorted or removed

The plugin generated 1018 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

Deactivate plug-in and everything goes back to normal

I am open, but my time is limited. If it’s something small, I can do it. If it’s a bug, I can definitely fix it.

Ok can you make images and categories clickable and add tags to taxonomy?

What do you mean clickable images? Also, for the clickable categories, I need to make sure the taxonomy template is working.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey