Question about clearing data (attributes) from albums/images/categories etc.
flyingdutchie
Registered Users Posts: 1,286 Major grins
Hi David or anyone else who knows the answer
How can one programatically remove data from objects such as images/albums/categories, etc.?
Examples are:
-- Anton Spaans.
How can one programatically remove data from objects such as images/albums/categories, etc.?
Examples are:
- How can I clear the caption of an Image?
Sending an empty string won't work, since all null or empty values will be ignored. - How can I move an album from being under a Sub Category to just being under a Category
E.g. its CategoryID=1 and SubCategoryID=34. But now i want to move the album to be immediately under CategoryID=1. I can not clear the SubCategoryID by sending null (or an empty string) for its value... it will be ignored. - How can I remove a piece of data so that its Smugmug-default value is used again.
E.g. i set BackPrinting string to some value for an Album, but i want to use the my account's Backprinting string again. I can not send null or an empty string...
-- Anton Spaans.
I can't grasp the notion of time.
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
"Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com
0
Comments
/?method=smugmug.images.changeSettings&ImageID=xxx&Caption=
SubCategoryID=0
/?method=smugmug.albums.changeSettings&AlbumID=xxx&Backprinting=
SmugMug API Developer
My Photos