Bug #4013

How to remove specific images from gallery.

Added by Eli Sarnat about 2 years ago. Updated over 1 year ago.

Status:CompletedStart date:2014-03-12
Priority:LowDue date:
Assignee:Development Team% Done:

100%

Category:-Estimated time:1.00 hour
Target version:-
Scratchpads URL:http://antkey.org/gallery

Description

I've got a few images (screenshots) that I've added into some documentation section of my scratchpad. Is there any way of excluding them from the media gallery? If not, any suggestions on a workaround? Thanks.

History

#1 Updated by Simon Rycroft about 2 years ago

  • Assignee set to Development Team
  • Priority changed from Normal to Low
  • Estimated time set to 1.00

There currently isn't any way of doing this, I will look into this, although I'm afraid I'll have to mark this issue as "Low" priority.

#2 Updated by Nicholas Williams about 2 years ago

Eli Sarnat wrote:

I've got a few images (screenshots) that I've added into some documentation section of my scratchpad. Is there any way of excluding them from the media gallery? If not, any suggestions on a workaround? Thanks.

Hello,
I have the same problem. This is hardly a workaround but I have added a high weight value to this kind of images (+100). The images are pushed to the last page of the default gallery. My hope is that few visitors will notice them.
regards Nicholas
http://ethoikos.myspecies.info

#3 Updated by Sarah Faulwetter almost 2 years ago

This is a feature which is of high relevance for me, too... I've spent about 3 days on a dirty workaround to hide user profile pictures, project logos, diagrams, tutorial screenshots etc from the media gallery, by creating my own views, hacking css, etc, but it's not really what I want...

One idea would be to only show media that are actually associated with a media gallery on the /gallery page. This would hide all media that are attached to pages, forums, blogs etc.

Thanks,
Sarah

#4 Updated by Simon Rycroft over 1 year ago

  • Status changed from Active to Completed - Requires Review
  • Assignee changed from Development Team to Support Team
  • % Done changed from 0 to 100

I like Nicholas's work around, so have chosen that as the "official" method of hiding a media item from ALL gallery pages.
This will be released eventually to all Scratchpads, but in the mean time, please set the weight of images you would like hidden to 100, they will be hidden automatically once the sites are updated.

#5 Updated by Simon Rycroft over 1 year ago

  • Status changed from Completed - Requires Review to Completed

Tested by the development team, and ready for release.

#6 Updated by Dimitrios Koureas over 1 year ago

  • Status changed from Completed to Active
  • Assignee changed from Support Team to Development Team

tested on dev-260.taxon.name

Works as expected

This needs to be documented. One side effect could be that users might actually set value 100 as a weight to order an image last.

Could the string '100' in the weight field be replaced with 'Hidden'? Of course this can only work if the values are handled as strings in the field (which I doubt).

#7 Updated by Simon Rycroft over 1 year ago

Fair point, I'll change the string to Hidden so that users are aware of the change.

#8 Updated by Simon Rycroft over 1 year ago

  • Status changed from Active to Completed

Actually, the tooltip already states that setting the weight to 100 will hide the image. Other than documenting this on the help site, I think we've done enough.

Also available in: Atom PDF