Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5494

Closed
Open
Created Oct 31, 2013 by Administrator@rootOwner

Image attachments in issues have wrong embedded URL / link

Created by: Muffinman

GitLab version: 6.2.0

When attaching an image to an issue, the embedded preview (and link on the preview image) seems to go to a 404 page. The bottom right attachment link works as expected.

Relevant section of HTML:

<div class="note-attachment">
    <a href="/uploads/note/attachment/144/Home_-_Office_Kit.jpg" target="_blank">
        <img alt="Home_-_office_kit" class="note-image-attach" src="/uploads/note/attachment/144/Home_-_Office_Kit.jpg">
    </a>
    <div class="attachment pull-right">
        <a href="/files/note/144/Home_-_Office_Kit.jpg" target="_blank"><i class="icon-paper-clip"></i>
            Home_-_Office_Kit.jpg
        </a>
    </div>
</div>

gitlab attachments

Assignee
Assign to
Time tracking