User view of My Galleries

Link to

(1) Select menu where galleries are displayed in web site

Attention: The menu name may different and may appear in a horizontal menu inside sub menus

(2) Login with your user name given by owner of website The system needs you to be logged in. Otherwise the "My gallery" rights can't be assigned to a user

(3) Click on "My Gallery" link This will lead you to the "My gallery" page where your galleries can be created, images uploaded and edited. This view enables to just see the "owned" galleries and images

First my Galleries user view

(1) Create gallery tab

This is where the fun begins ....

If this tab does not appear the user has not enough rights

Create a gallery

My Gallery: create gallery On the My galleries page click the Create Gallery tab. This tab only shows when the user that is logged in has Create permission.

(1) Select parent gallery To create a new gallery, first choose its parent. Choose "Top gallery" when you want the gallery to have no parent.

(2) Assign a name

(3) Fill out a description (May be empty)

(4) Save (create) gallery with entered settings

Click the little disk button at the top right of the "Create Gallery tab" to save the settings

(5) Cancel creation Click the red round button with a white cross inside to clear all fields.

Saving the gallery details returns you to this page and this tab, but with the extra gallery created (note: this gallery is unpublished by default). Unless of course the user already is at its maximum allowed galleries, then the gallery will not be created.

My Gallery: create gallery done View after first gallery is created

Attention "Add image" is now available

Galleries overview

My Gallery: Galleries overview

(1) Gallery name clicking on the name will lead to the editing page of the gallery

(2) Publish/unpublish gallery

Change the state of a gallery: published or unpublished red/green

In the Published column the user can tell by the icon if the gallery is published (green icon with white check mark) or unpublished (red icon with white dot inside). When the user is not allowed to change the state, the icons are grey, but with either the check mark or the dot. A click on the icon toggles the state from unpublished to published and vice versa.

(3) Delete gallery A gallery can be deleted by clicking on the Delete icon. You will be asked to confirm the deletion of the gallery.

Attention: Images still in the gallery will be deleted as well

(4) Edit gallery

The details like the name and description of the gallery can be edited and a different parent gallery can be chosen. The gallery can be edited by either clicking on the gallery name or on its Edit icon

Doing this shows a new window with the gallery details

Image Upload

My Gallery: Image upload On the My galleries page click the Add Image tab. This tab only shows when the user that is logged in has "Create permission" for one or more galleries.

(1) Select parent gallery

To add your image(s), first choose the gallery that will hold the image(s).

(2) Select a file on your PC / device

You can either add a single image, or a set of images in a zip file. Browse to the file to select it.

There is a restriction of the size of a zip that can be uploaded. It depends on the settings of the server that hosts the web page.

(3) Assign a title

(4) Fill out a description (May be empty)

In case of multiple images in a zip file, this title and description will be used for each image.

(5) Upload gallery with entered settings

To upload your image(s) and save the details, click the disk button at the top right of the Create Gallery tab.

(6) Cancel upload

Next to the disk button is a red round button with a white cross inside. Use this cancel button to clear all fields.

Saving the item returns you to this page and this tab, but with the extra image(s) created

Note: the newly uploaded image will be unpublished by default). Unless of course the user already is at its maximum allowed item, then the items will not be created.

Images overview

My Gallery: Images overview

(1) Check box for selecting multiple images for batch assignment

(2) Title of images

(3) Gallery

Name of the gallery the image belongs to

(4) Publish/unpublish image

Change the state of a image: published or unpublished red/green

In the Published column the user can tell by the icon if the image is published (green icon with white check mark) or unpublished (red icon with white dot inside). When the user is not allowed to change the state, the icons are grey, but with either the check mark or the dot. A click on the icon toggles the state from unpublished to published and vice versa.

(5) Delete image

A image can be deleted by clicking on the Delete icon. You will be asked to confirm the deletion of the image.

(6) Edit image

The details like the title and description of the image can be edited and a different gallery to which the item belongs to can be chosen. The item can be edited by clicking on its Edit icon. Doing this shows a new window with the item details

(7) Batch publish images

The selected images can be published in one go

(8) Batch unpublish images

The selected images can be unpublished in one go

(9) Batch delete images

The selected images can be changed in one go

Edit image

My Gallery: Edit image The properties to be changed are the same like when uploading the image

(1) The uploaded image is displayed in "edit" view

(2) Click on disk button to save the changes

You can save your changes by clicking the disk icon on the top right

(3) Click on the "red cross" button to cancel and reset the changes

You can cancel your changes by clicking the red round icon with the with the cross inside.

Both save and cancel will take you back to the My Galleries page.

Edit gallery

My Gallery: Edit image The properties to be changed are the same like when creating the gallery

(1) Click on disk button to save the changes

You can save your changes by clicking the disk icon on the top right

(2) Click on the "red cross" button to cancel and reset the changes

You can cancel your changes by clicking the red round icon with the with the cross inside.

Both save and cancel will take you back to the My Galleries page.

My Gallery user information

My Gallery: user information

At the top of the page "My Gallery" there is a box with User information: The name of the user who is currently logged in, the number of galleries this user has already created and its allowed maximum (setting Maximum number of galleries a user can have) and the number of items for which the user is the owner and its allowed maximum (setting maximal numbers of pictures a user can have).

My Gallery appearing on main view

My Gallery: external standard view

If the gallery and at least one image is "published" the it appears on the main page below the "My galleries" link and "Search box"

(1) Information buttons

  • The blue "O" appears if the logged in user "owns" this gallery

  • The green "U" appears if you have rights to upload into this gallery

If you hover over the buttons a text explaining will appear

My Gallery: Set it up, get it started

  1. Enable "My Galleries" in RSG2 configuration
  2. Create a user group with rights to handle their own galleries and Images
  3. Assign user rights for this group on
  4. Assign the standard RSGallery2 view to a menu

Configuration of My Galleries

My Galleries configuration

More description in section configuration

Create a user group for "My Galleries" users

My Galleries New user group

A separate user groups helps to assign special rights for "My Gallery" users.

Assign user rights for this "My Galleries" users group

My Galleries configuration

(1) Search for RSGallery2 in System->Global configuration

(2) Select Permissions

(3)-(6) Activate the "Create own", "Delete own", "Edit own", "Edit state own" permissions. The "vote" or "comment" permissions enable actions on the images itself. They are not needed for the handling of galleries and images.

Edit Permission, Edit State Permission (to publish or unpublish an item or gallery), Delete Permission and Create Permission for items and galleries.

A user with none of these permissions can only see the items and galleries, but cannot publish, delete, edit or create items or galleries. That is reflected on the tabs My Images and My galleries by the grey icons for the items and galleries. That user will also not see the Add Image and Create Gallery tabs.

However, when a user has all permissions, the icons are no longer greyed out, and there are two more tabs: Add Image and Create Gallery. A site administrator can choose to give only specific permissions to a user group, e.g. only Edit permission, and only give that permission for a specific gallery. Then the user will see from the icons being grey (and non-functional) or not if they have that permission.

Assign the standard RSGallery2 view to a menu

This may be done already as it is as simple as assigning the standard view to a menu

Upload

Upload startview Above is the start view when selecting configuration

There are three tabs to choose

  • (1) Single images
  • (2) Upload from Zip file (PC)
  • (3) Upload from folder (server)

Single images

On "Upload single images" a form opens where the properties of a image to be uploaded can be edited. This includes the origin of the image as properties like name, assigned gallery and more.

More images can be added in that form.

Single images

(1) Jumps to single images upload view

See form "Single images upload" view below.

Upload from Zip file (PC)

A zip file containing several images can be uploaded to the server, unzipped and the images assigned to a gallery.

Upload from Zip file (PC)

(1) Select the zip file on local pc folder

Attention: The size of all files within the zip file has to be smaller than the server settings (php.ini) upload_max_filesize and post_max_size. These values are displayed in red below this input.

(2) One gallery for all Images

On yes the selected gallery is used for all images. Otherwise for each image the gallery may be assigned in the next form.

(3) Specify gallery

The list on the right contains all gallery names. The top most gallery is the last one created.

(4) Upload from Zip file

Does upload the zip file to the server, unzip the images and jumps to properties "uploaded images view". There the images are displayed and the properties can be assigned.

See form "Images batch upload" view below

Upload from folder (server)

Images can be uploaded to a folder (Shall be created) within the Joomla! installation. The images will be copied from this folder and will be assigned to the gallery

Upload from folder (server)

(1) FTP Path Defines the path where RSGallery2 will look for images to "upload" The path may be any otherwise empty folder which is accessible (has rights) from within the Joomla! installation. Recommended is a folder TransferImages in images The path must start with the base path to Joomla! installation. To make things easier the standard path is given in small font below the input.

In configuration the standard path can be set so it will be automatically filled in.

(2) One gallery for all Images

On yes the selected gallery is used for all images. Otherwise for each image the gallery may be assigned in the next form

(3) Specify gallery

The list on the right contains all gallery names. The top most gallery is the last one created

(4) Upload images

Does copy the files from given folder on the server and jumps to "Images batch upload" view. There the images are displayed and the properties can be assigned.

See form "Images batch upload" view below

Form "Images batch upload"

This form will be reached either by upload from ZIP or upload from server folder. It supports an overview of uploaded images as pictures and enables to set image specific attributes

Images batch upload second form

(1) Delete: If activated (checked) the image will not be used and delted

(2) Image preview:

(3) Title: Add a text for title displayed with image

(4) Gallery: If selected in previous upload form the gallery can be selected different for each image. Otherwies the input is grey , not reachabel and tells the previous selected gallery

(5) Description: Add a description which is displayed with the image

(6) Button to finish the upload. The attributes will be assinged to the images ...

Form "Single images upload"

Single images upload second form

(1) Gallery: The gallery can be selected different for each image

(2) Generic description: It will be used for all following images

(3) Title: Add a text for title displayed with image

(4) File: Select image to upload

(5) More Files: A click on this item will add inputs for the next image. The area marked green wil be duplicated for input of the next images. This may be repeated as often as needed. (Attention: Limit may be the server time for the upload itself)

(6) Button to finish the upload. The attributes will be assinged to the images ...

(7) Cancel the process

General folders of rsgallery2

(2017.07.17) .... The images are kept in following folders in .../Joomla/images/rsgallery/tmp

  • original: Users original images if not disabled in configuration
  • display: Resized images (size from configuration)
  • thumbs: Thumbs of images (size and form from configuration)
  • watermarked: When watermark is active then images which were shown to the user get a watermark and are saved here for fast access

My Galleries

A site administrator can enable My Galleries for users to upload and view their own galleries (setting Show My Galleries, 'no' by default). A extra element will appear on the gallery view when a user has logged in on the front end.

My Gallery: Standard View of user created "My Gallery" gallery

The "my galleries" are viewed on the module where the menu with type RSGallery2 is displayed. Above the RSGallery2 "Search box" the user can click on "My galleries" link (3) Link to

(Link must be activated in configuration of RSG2)

Clicking on that link will show a page like

First my Galleries user view If tab (1) does not appear the user has not enough rights

How to hide the original image from the user

Hide original and show watermarked file instead

Intention:

You want to show your images to the customers but the customer shouldn't be able to download in original resolution. The RSGallery2 supports this with some small drawbacks.

Every image that is shown the user can download with the browser which is not what you want.

Display types in RSGallery2

  • "Thumbs": Shown in gallery overview ==> No need for watermarking
  • "Display": Single image view in slideshow and similar views ==> Expected to be resized into lesser quality and therefore no watermark.
  • "Original": A double click on a "display" image leads to a full screen "lightbox" image. Here the watermarked image will be shown instead of the original

Solution inside RSGallery2:

1) Resized display image (to bad quality) On upload the original image is resized to display size defined in configuration. This reduces "interest" of your user to download with this bad quality

2) Discard original image RSGallery2 can be setup to discard the original image and display a watermarked image instead. So the user can't find the original by guessing the filename URL and download it.

3) Watermark A watermarked replacement file will be created once when uploading or when viewed the first time. The watermarking will be a text defined in the configuration. Optional: Add icon or other image as watermark. (This has to be developed. It can be done in short time. Send us an email if you need it and we will care for it)

3) Disguise watermarked file names Additional the created watermarked files are disguised with a different filename. So users can't immediately guess the URL of the next or previous image. So it is harder to download all your images and remove the watermark with an imaging application

Setup configuration:

  1. Hide (delete) original after upload

    Image manipulation

    In configuration->images->section "Image storage"

    • (1) activate the "no" selection
  2. Check "display" resolution

    Image manipulation

    In configuration->images->section "Image manipulation"

    • (1) Display picture width defines the maximum size of the displayed image.
    • (2) You can reduce the quality of the displayed image to your needs
  3. Check watermark settings

    Image manipulation

    In configuration->display->section "Image watermark"

    • (1) Display watermark Activate if watermarked files should be used on "big size" image view. It will replace the original file which would be displayed otherwise. A watermarked replacement file will be created once when uploading or when viewed the first time. The watermarking will be a text defined in the configuration. Optional: Add icon or other image as watermark. (This has to be developed. It can be done in short time. Send us an email if you need it and we will care for it)
    • (2) Watermark type A text or an image can be merged into the original image as a watermark
    • (3) Watermark text Define the text to be displayed in the image
    • (4) Font Select the font type of the watermark text
    • (5) Watermark font size Select the font size of the watermark text
    • (6) Watermark text angle Define the angle of the watermark text
    • (7) Watermark image Will be merged into the big display image. Watermark image should be smaller then display image"
    • (8) Scale watermark image Enter a factor to enlarge the watermark image. 1.0 will use the original. Smaller values will reduce the watermark image size
    • (9) Watermark position Select the position of the watermark text.
    • (10) Margin from top
    • (11) Margin from right
    • (12) Margin from bottom
    • (13) Margin from left Margin from the border of the original image. Watermark is placed with distance to the border, if it is not centrally located
    • (14) Watermark transparency Define transparency of the text to be displayed in the image
    • (15) Watermark image path Define the destination path of the created watermarked files

Drawbacks

  • The small sized "display" files have no watermark
  • The "display" files can be found with guessing and a knowledge of the RSGallery2 / Joomla structure
  • If you switch on watermarking after uploading the images then the watermarking tries to use the original image. If it doesn't exist then it uses the "display" files with lower resolution.