Drupal 7 Custom Module for Private Download - repost

In Progress

At this moment, I am configuring a photo sales website using Drupal 7. But I need to solve one issue before I can proceed further.

Here’s my current setup.

1. A content type called “Photo” with image field using private file system.

2. Using flag module to determine if the photo has been purchased or not.

3. At theming layer, the download link is set to appear if the node has been flagged.

However, there is an issue with the setup above. The user will still be able to download the original photo if the link is known. I want to allow user to download the original photo only when the entity has been flagged as purchased. I need a custom module for that.

Things to bear in mind:

1) The private photo will be used in generating images of different sizes in “Image Styles (Imagecache)” for preview. Those images created by “Image Styles” should not be treated as original photos and will not required any special permission to download.

2) The photo uploader should have access to download his/her own photo without purchasing.

3) I believe you need to have a depth understanding on Drupal file system api in order to complete this project.

FYI, I am following the instructions at [url removed, login to view] to setup my photo sales site.

Skills: Drupal

See more: original photos, drupal 7, custom preview, drupal module private download, drupal user module, field type drupal, file entity file module, drupal type, custom entity drupal, file uploader preview, drupal user field, drupal order module, drupal styles, drupal image link, drupal user access, download photo repost, drupal file created, node content type, private photos, private 2013, file entity drupal, file entity, private special, website content uploader, theming website

About the Employer:
( 5 reviews ) Seria, Brunei Darussalam

Project ID: #4313070

Awarded to:

maiznieks

Seasoned drupal developer, have been working with drupal exclusively for 5+ years (since drupal 5 version). I am very familiar with Drupal API.

$80 USD in 3 days
(1 Review)
2.9

4 freelancers are bidding on average $170 for this job

EyeFish

We are ready to work. Waiting to serve you. Thanks.

$250 USD in 5 days
(27 Reviews)
5.9
hibersh

Drupal guru at Shanghai, plz check pmb

$250 USD in 4 days
(17 Reviews)
5.6
bhavinhjoshi

Hello, I have provided the details in private message. Please check PM. Regards.

$250 USD in 3 days
(40 Reviews)
5.6
rohitbajr

Please check the message.

$100 USD in 3 days
(2 Reviews)
1.6