• Purchasing a license grants permission to use the software and to get Tech Support. A license purchase doesn't grant customization support.

shortened image url link

Rodolfo

Chevereto Developer
Chevereto Staff
Joined
Oct 7, 2008
Messages
15,522
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
Is very easy to customize that, you only need to tweak the file at app/themes/Peafowl/snippets/embed.php

Tags you can use are:

Code:
%DISPLAY_URL%: "http://localhost:8888/images/2019/07/07/ROH.jpg"
%EXTENSION%: "jpg"
%FILENAME%: "ROH.jpg"
%HEIGHT%: "500"
%HOW_LONG_AGO%: "5 minutes ago"
%IMAGE_EXTENSION%: "jpg"
%IMAGE_FILENAME%: "ROH.jpg"
%IMAGE_MIME%: "image/jpeg"
%IMAGE_NAME%: "ROH"
%IMAGE_SIZE%: "51728"
%IMAGE_URL%: "http://localhost:8888/images/2019/07/07/ROH.jpg"
%MEDIUM_EXTENSION%: "jpg"
%MEDIUM_FILENAME%: "ROH.jpg"
%MEDIUM_HEIGHT%: "500"
%MEDIUM_NAME%: "ROH"
%MEDIUM_SIZE_FORMATTED%: "51.7 KB"
%MEDIUM_URL%: "http://localhost:8888/images/2019/07/07/ROH.jpg"
%MEDIUM_WIDTH%: "375"
%NAME%: "ROH"
%SIZE_FORMATTED%: "51.7 KB"
%THUMB_EXTENSION%: "jpg"
%THUMB_FILENAME%: "ROH.th.jpg"
%THUMB_MIME%: "image/jpeg"
%THUMB_NAME%: "ROH.th"
%THUMB_SIZE%: "10626"
%THUMB_URL%: "http://localhost:8888/images/2019/07/07/ROH.th.jpg"
%TITLE%: "ROH.md"
%URL%: "http://localhost:8888/images/2019/07/07/ROH.jpg"
%URL_SHORT%: "http://localhost:8888/image/VIH"
%URL_VIEWER%: "http://localhost:8888/image/VIH"
%USER_NAME_SHORT_HTML%: "Admin"
%USER_URL%: "http://localhost:8888/admin"
%USER_USERNAME%: "admin"
%WIDTH%: "375"
 

sellamnow

Core license
License owner
Joined
Jul 3, 2019
Messages
4
Points
51
thanks for the reply i have been able to implement the modification i needed , thanks again
 

siddharthramakrishnan

Core license
License owner
Joined
May 31, 2015
Messages
9
Points
53
Rodolfo

Can you please explain what codes needs to be changed to have our own url short links. xxxxxxx.com to xxxx.com , can you provide the file where you can mention which we have to replace with our short links.

sellamnow


Can you also explain how you achieved that.