This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Pages: 1 - Last Post: 28-Jun-2019 16:05 Last Post By: ctwist
ctwist

Posts: 565
Registered: 27-Sep-2003
getTargetName() is removed
Posted: 27-Jun-2019 16:33
 
  Click to reply to this thread Reply
In 18.3, engine.getTargetName() is unavailable. This causes Mirage to crash. It seems to have been replaced by engine.getTargetImageName​(). Is this just a name change? Did this take effect in 18.3?
davidekholm

Posts: 3,623
Registered: 18-Oct-2002
Re: getTargetName() is removed
Posted: 27-Jun-2019 17:46   in response to: ctwist in response to: ctwist
 
  Click to reply to this thread Reply
Yes, getTargetImageName​ replaces getTargetName for closeup images. For thumbnails there is now another method called getTargetThumbName (jAlbum now supports different file formats for thumbnails and closeup images).

Sorry for causing this trouble,but why the need to call getTargetName directly? Aren't the variables provided enough?
ctwist

Posts: 565
Registered: 27-Sep-2003
Re: getTargetName() is removed
Posted: 27-Jun-2019 19:20   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Mirage sometimes generates images (you may recall discussions about variants). It needs to know the name of the generated variant image.
davidekholm

Posts: 3,623
Registered: 18-Oct-2002
Re: getTargetName() is removed
Posted: 27-Jun-2019 21:19   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I've released 18.3.1 now as a core update. It has the name getTargetImageName reverted to getTargetName. Once our lovely admins and testers have verified that this version works (I broke URL encoding in 18.3), I'll auto-update jAlbum 18.3 to 18.3.1.
jGromit

Posts: 7,579
Registered: 31-Jan-2006
Re: getTargetName() is removed
Posted: 27-Jun-2019 21:58   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
No more smoke and flames from Mirage with 18.3.1, but ctwist may want to do a more robust test than my quick "default album" shot.
ctwist

Posts: 565
Registered: 27-Sep-2003
Re: getTargetName() is removed
Posted: 28-Jun-2019 16:05   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Mirage works correctly with jAlbum 18.3.1.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums