Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. How do I get my images to show on my article?

How do I get my images to show on my article?

Scheduled Pinned Locked Moved Article Writing
questioncom
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mr Yossu
    wrote on last edited by
    #1

    Hello, I'm just trying to post my very first article, and I can't get the images to show up. I included them in the zip file I uploaded, along with the zip for the test project. The site successfully extracted the the test project zip (the download link on the article works fine), but it didn't seem to pull out the images with it. The article hasn't been approved yet, but will (hopefully) appear at http://www.codeproject.com/KB/dialog/SavingTheStateOfAForm.aspx[^], so I assumed from the info that I was supposed to use SavingTheStateOfAForm/imagename.gif in the <img> tag. This didn't work, and nor did anything else I tried. Anyone know how I get my images to show? Thanks

    L 1 Reply Last reply
    0
    • M Mr Yossu

      Hello, I'm just trying to post my very first article, and I can't get the images to show up. I included them in the zip file I uploaded, along with the zip for the test project. The site successfully extracted the the test project zip (the download link on the article works fine), but it didn't seem to pull out the images with it. The article hasn't been approved yet, but will (hopefully) appear at http://www.codeproject.com/KB/dialog/SavingTheStateOfAForm.aspx[^], so I assumed from the info that I was supposed to use SavingTheStateOfAForm/imagename.gif in the <img> tag. This didn't work, and nor did anything else I tried. Anyone know how I get my images to show? Thanks

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Your article seems to contain HTML image tags such as

      <img alt="The test project" src="SavingTheStateOfAForm/FormSerialisor3.gif" />

      These are incorrect, as they need a relative path; and incomplete, as CP wants them to hold a width, a height and an alternate text as well. Here is one from one of my articles:

      <img src="CPVanity/CPVanityDesignerDetail.gif" width="308" height="220" alt="CPVanity Designer Detail" />

      I assume you have been using the Article Submission Wizard. It offers some 4 pages, on one of them you are offered an opportunity to upload files; this is typically used to upload one or two ZIP files (mainly holding the source code and/or a demo EXE), as well as for uploading individual images. When done, it even offers HTML strings that refer to them, which you could copy verbatim into your article's body text. There is no way the wizard will extract anything from the zip you present. FWIW: Putting everything in a single zip (the article itself, its images, and its downloads) is the recommended way when you submit your article through e-mail. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read formatted code with indentation, so please use PRE tags for code snippets.


      I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


      M 1 Reply Last reply
      0
      • L Luc Pattyn

        Your article seems to contain HTML image tags such as

        <img alt="The test project" src="SavingTheStateOfAForm/FormSerialisor3.gif" />

        These are incorrect, as they need a relative path; and incomplete, as CP wants them to hold a width, a height and an alternate text as well. Here is one from one of my articles:

        <img src="CPVanity/CPVanityDesignerDetail.gif" width="308" height="220" alt="CPVanity Designer Detail" />

        I assume you have been using the Article Submission Wizard. It offers some 4 pages, on one of them you are offered an opportunity to upload files; this is typically used to upload one or two ZIP files (mainly holding the source code and/or a demo EXE), as well as for uploading individual images. When done, it even offers HTML strings that refer to them, which you could copy verbatim into your article's body text. There is no way the wizard will extract anything from the zip you present. FWIW: Putting everything in a single zip (the article itself, its images, and its downloads) is the recommended way when you submit your article through e-mail. :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read formatted code with indentation, so please use PRE tags for code snippets.


        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


        M Offline
        M Offline
        Mr Yossu
        wrote on last edited by
        #3

        Ah, thanks so much for that! As you probably guessed, this was my first time submitting an article, and I was a bit confused the way it works. Re-reading the instructions on the first page of the wizard, I suppose you could read it to mean it's the place to upload zip files and images, etc. I read it to mean you upload zip files that contain your test project, image files, etc. This idea was supported by the fact that some other info I saw about using the wizard said you were to upload images on step 4. Perhaps this could be clarified for the Hard Of Thinking :sigh: Anyway, all fixed now and I'll (hopefully) remember for next time :) Thanks again, Alan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups