Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-09-30 02:38:18

patrickdej
Member
Registered: 2013-07-08
Posts: 60

Plesk 12.0.18 Permissions 755 multiple Digital downloads.

Rod, Thanks so much for the explanation regarding multiple Digital downloads.


http://ttg-tips-and-tricks.barbeephoto. … -ttg-cart/

We're hosting on a Linux Server with Plesk Interface.

As explained by Rod, in the above Link, we need to have a 2nd folder for our
high res Data, that needs to be loaded by hand and saved in the gallery folder.  When I try and change the permissions to allow read and write  I'm unable to save the changes. I am not the "owner" Is Plesk the owner or is Publisher declaring ownership?

Bottom line, I'm trying to find a place where I can save the 2nd set of Data I want to sell. The procedure works when I do not use publisher however I would like to use Publisher.


Thanks for any feedback.
Regards,

Patrick

Offline

#2 2015-09-30 15:34:07

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Plesk 12.0.18 Permissions 755 multiple Digital downloads.

Server permissions are tricky. When folders and files are created by applications on-server (publisher, WordPress, etc.) they will not be owned by the FTP user. You may need to access the server as 'root' user to change those permissions. I'd contact Bluehost for assistance on that.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2015-09-30 16:29:45

patrickdej
Member
Registered: 2013-07-08
Posts: 60

Re: Plesk 12.0.18 Permissions 755 multiple Digital downloads.

Thanks, Matthew

Offline

#4 2015-09-30 19:08:51

patrickdej
Member
Registered: 2013-07-08
Posts: 60

Re: Plesk 12.0.18 Permissions 755 multiple Digital downloads.

Hello Matthew,

I'm trying to find a work around, I want to have to folders one for high res and one for low res Digital Downloads. Screen%20Shot%202015-09-30%20at%2011.59.13.png

Image Downloads and Image Downloads for Sale activated

Screen%20Shot%202015-09-30%20at%2011.53.51.png

Watermarks are on images in the "photo" folder

Watermarks are on images in the "photos for download" folder

Watermarks do not appear on the images in "Photos for Purchase" folder

Is there a way to have Publisher publish the files in "Photos for download" folder without watermarks.


Thanks,


Patrick

Offline

#5 2015-09-30 20:31:35

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Plesk 12.0.18 Permissions 755 multiple Digital downloads.

Hi Patrick, it is possible, by manually editing the template's setup.xml file.  Read below:

Publisher 2.2.0 adds support for a Watermark setting for renditions in the templates' setup.xml files.  The behaviour is as follows:

1. If there is no <watermark/> entry, then follow the use the watermarks settings for the album setup in exactly the same way as before.
2. If the watermarks entry is empty, e.g. <watermark></watermark> then do not add any watermark to the rendition.
3. If the watermarks entry contains the name of one of your saved watermarks, e.g. <watermark>Copyright 2014</watermark> then apply that watermark for the rendition.
4. If the watermarks entry contains a name that doesn't match any of your saved watermarks, then handle the watermarking in the same way as 1.

An example of a <rendition> entry with a watermark setting:

<rendition>
    <maxHeight>1200</maxHeight>
    <maxWidth>1200</maxWidth>
        <renditionPath>photos-with-watermark</renditionPath>
    <resizeType>wh</resizeType>
    <quality>0.69</quality>
    <colorSpace>AdobeRGB</colorSpace>
    <watermark>Copyright 2014</watermark>
</rendition>

If you're re-publishing photos to update watermarks, make sure that the Publisher setting "Push metadata without updating existing photos" is left unchecked.

So for your case, you'd want to add a watermark entry into the photos-for-download section, so that it looks something like this:

<rendition>
    <maxHeight>1200</maxHeight>
    <maxWidth>1200</maxWidth>
    <renditionPath>photos-for-download</renditionPath>
    <resizeType>wh</resizeType>
    <quality>0.69</quality>
    <colorSpace>AdobeRGB</colorSpace>
    <watermark></watermark>
</rendition>

I hope that helps.

Offline

#6 2015-10-01 23:03:40

patrickdej
Member
Registered: 2013-07-08
Posts: 60

Re: Plesk 12.0.18 Permissions 755 multiple Digital downloads.

Hi Ben,

That worked wonderful, thank you!

Great information.


Regards,


Patrick

Offline

Board footer

Powered by FluxBB