No problem Shoan! Good work takes time…
Hi Shaon,
As requested… in addition, it would be practical to be able to force a thumb to be the featured image, by clicking one of the attachments thumbs in the packet, as a manual override.
Regards,
Jackey
Hi Shaon,
Cool Shaon, great work… the automatic thumb retrieval works great!
Missing the manual “fetch thumbnail and update featured image”. (or am I not looking)
Can the bulk import be modified to support the FTP add-on.
Regards,
Jackey
Nice! I would like to have the color box (or any other lightbox for that matter) to be active on the images in the archive Add-on. Like the page http://sandbox.melisgs.nl/snsbank.dev/archief/
Or did it work like that previously.
Not quite… now the grid shows nothing when not logged in. http://cl.ly/image/0b1D3r06222l
Hi Shaon,
I assume _you_ need to use that… or is it something I can do.
Are you sure?… because that does not work…
Anyway to get it within scope of the ajax?
Hi Shaun,
That is great, one little thing… I would like that the autonomous action also functions with the ftp-bulk add-on when you get to it. ๐
Is this related to the problem that colorbox is not working with images within wpdm-archive-page?
The $(document).ready(…) code does exactly what it is being asked to do, namely to attach colorbox functionality to links when the page is loaded. However it does not cater for any links that do not yet exist at that time.
What you need to do is to run the same code again inside the ajax “success” handler, after it has inserted its links.
You could copy the code into your ajax “success” handler but it would be cleaner to convert it to a named function, called from two places; $(document).ready(…) and the success handler.
You need to ensure that the named function is in a scope that can be accessed from both places. The only scope that is guaranteed is the global scope. Other scopes may be available depending on how the code is organised.
Noticed that colorbox or any other lightbox plugin for that matter do not work on images within wpdm-archive-page. Can you confirm that?
I rather cache the thumbnail on the native server and store it as the featured image.
Although the remote has http access, I think the thumbs are small enough to be attached to the package without taking up to much space on the native server.
And I think the cache approach does not require to make special templates to show remote-ftp packages.
What’s in a name… ๐ got it!
Okay will give it a try.
It is 2 actions, action 1 I want to run autonomous whenever there is a FTP file attached to the Download Package.
Action 2 is manually triggered from the Attached Files pane in the Edit Package page: Mockup
The thumbnail can be accessed on the same ftp-server by adding /p1/3.jpg after the URL of the filename and using a different login name [loginname]-thumbs.
Great… thanks again!