Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

access_control_models.png #28

Closed
jkickens opened this issue Jun 24, 2014 · 3 comments
Closed

access_control_models.png #28

jkickens opened this issue Jun 24, 2014 · 3 comments

Comments

@jkickens
Copy link
Contributor

access_control_models

@frenchi
Copy link
Contributor

frenchi commented Jul 5, 2014

@jkickens I'm noticing a lot of issues getting created for image upload purposes. The downside of this is that everyone watching the project gets a notification when it's created & closed.

If the goal is to link to the image in the wiki/guide, it's possible to include the images in bulk, in the repository structure, and then get their raw image url.

Is that the intended purpose of current issue creation? If so, happy to help out, if needed.

@jkickens
Copy link
Contributor Author

jkickens commented Jul 5, 2014

Yes, that is the intention. If you could tell me a better way, I'm happy to redo the images.

Jerry

Sent from my iPad

On Jul 5, 2014, at 9:24 AM, French notifications@github.com wrote:

@jkickens I'm noticing a lot of issues getting created for image upload purposes. The downside of this is that everyone watching the project gets a notification when it's created & closed.

If the goal is to link to the image in the wiki/guide, it's possible to include the images in bulk, in the repository structure, and then get their raw image url.

Is that the intended purpose of current issue creation? If so, happy to help out, if needed.


Reply to this email directly or view it on GitHub.

@frenchi
Copy link
Contributor

frenchi commented Jul 6, 2014

The link above is the preferred way of getting static image URL:
https://help.github.com/articles/adding-images-to-wikis

Step-by-step example using this image, and the ./03-Build/images folder you created:
Include the images in your local repository structure

cd <DevGuide_repo_location>
mv <image_location>/access_control_models.png ./03-Build/images/
git add .

Push them to github

git commit -am 'Add access_control_models.png'
git push origin master

Visit the file's location in your browser (by browsing through the repo's page, or directly):

firefox https://github.com/OWASP/DevGuide/blob/master/03-Build/images/access_control_models.png
# not actually created, will 404
click on raw

click on raw

alternatively:
change the "blob" in the url to "raw", and Bob's your uncle:

firefox https://github.com/OWASP/DevGuide/raw/master/03-Build/images/access_control_models.png

Once the files are on github, any raw file can be referenced with the general URL structure:

https://github.com/OWASP/DevGuide/raw/master/<path_to_file>

Hope that helps,
French

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants