前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >how do you usually upload picture in SCN A workaround for current SCN upload is

how do you usually upload picture in SCN A workaround for current SCN upload is

作者头像
Jerry Wang
发布2019-07-24 15:26:48
4250
发布2019-07-24 15:26:48
举报
知识共享许可协议
知识共享许可协议

版权声明:署名,允许他人基于本文进行创作,且必须基于与原先许可协议相同的许可协议分发本文 (Creative Commons

(此邮件由 admin1@note.youdao.com 代发) 2013-12-3 18:21

Hello friends,

recently there is a known issue in SCN http://scn.sap.com/thread/3463117 that you cannot upload pictures in your local laptops when you write blogs.( The insert image button is disabled ) Currently the SCN guys are investigating on this issue.

So I have to insert the picture from the web.

I have to upload the pictures to http://www.flickr.com and paste the picture url to SCN blog.

Unfortunately in flickr website, we can only obtain url like http://www.flickr.com/photos/53067560@N00/2658147888/in/set-72157606175084388/. Once opended, you will find the url contains both the content of uploaded picture itself and the frame of flickr website. Such url could not be used in SCN.

If we right click on the uploaded picture, we can see see a couple of picture size choices. Clicking on “Original” means we would like to view the picture with original size.

on the new window, right click on picture and choose menu item “Properties”, then you can get the static url, which could be used in SCN blog.

If you have lots of picture to upload this inefficient operations will make you mad. So finally I write a small tool to do url conversion automatically. It is written in JAVA but could easily be rewritten in ABAP.

Firstly parte all uploaded picture url into a text file in your laptop like below:

import attached java file into your Eclipse and execute it, it will convert the url for you:

You need to create an application in flickr website and then you can get your own application key.

Just fill the application key in JAVA class URLFetcher and that's all.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年07月22日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • (此邮件由 admin1@note.youdao.com 代发) 2013-12-3 18:21
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档