Hi,

I am trying to build an improvement to Plup, so the IMG tag of the thumbnail contains a data- attribute with a URL to a larger version of the image file.
I want to create a similar function like the Insert module. Building the URL is easy, but I have to create the file first. And I am having trouble finding where the thumbnail file is created? Think I am blind today.. :-)

Comments

Anonymous’s picture

Status: Active » Closed (works as designed)

The file is uploaded into temp folder with status = 0(not active) in plup_upload_page(). If user submits the form the file is renamed to it's original name and moved to designated folder and it's status is set to 1(active) in plup_field_attach_presave().