{"id":16330071,"url":"https://github.com/rmax/django-dummyimage","last_synced_at":"2025-09-13T11:04:56.562Z","repository":{"id":803284,"uuid":"505952","full_name":"rmax/django-dummyimage","owner":"rmax","description":"Dynamic Dummy Image Generator For Django!","archived":false,"fork":false,"pushed_at":"2012-11-29T17:35:31.000Z","size":210,"stargazers_count":55,"open_issues_count":1,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-11T23:18:17.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dummyimage.rolandoespinoza.info/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmax.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-02-06T23:13:15.000Z","updated_at":"2023-10-11T18:41:13.000Z","dependencies_parsed_at":"2022-08-16T10:55:23.293Z","dependency_job_id":null,"html_url":"https://github.com/rmax/django-dummyimage","commit_stats":null,"previous_names":["darkrho/django-dummyimage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmax%2Fdjango-dummyimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmax%2Fdjango-dummyimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmax%2Fdjango-dummyimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmax%2Fdjango-dummyimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmax","download_url":"https://codeload.github.com/rmax/django-dummyimage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221809732,"owners_count":16883970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:18:24.706Z","updated_at":"2024-10-28T08:49:45.225Z","avatar_url":"https://github.com/rmax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django DummyImage\n=================\n\nA simple app to generate dummy/filler images on the fly at whatever size you want.\n\nInspired by http://dummyimage.com/ and http://github.com/xxx/fakeimage\n\nInstallation\n============\n\nInstallation using ``pip``::\n\n  $ pip install django-dummyimage\n\nRunning tests::\n\n  $ DJANGO_SETTINGS_MODULE=dummyimage.settings django-admin.py test dummyimage\n\nRunning demo::\n\n  $ DJANGO_SETTINGS_MODULE=dummyimage.settings django-admin.py runserver\n  $ xdg-open \"http://localhost:8000/500x150.png?text=hello+world\"\n\n\nSetup \u0026 Settings\n================\n\nAdd ``dummyimage`` to your ``INSTALLED_APPS`` setting.\n\nDefault settings::\n\n  DUMMYIMAGE_MAX_DIMENSION = 1024\n  DUMMYIMAGE_DEFAULT_BG = 'white'\n  DUMMYIMAGE_DEFAULT_TEXT = 'grey'\n  DUMMYIMAGE_DEFAULT_BORDER = 'grey'\n\n\nTemplate Tag\n============\n\nCode::\n\n    \u003cimg src=\"{% get_dummyimage_url 320 240 %}\" /\u003e\n\nOutput::\n\n    \u003cimg src=\"/dummyimage/320x240.jpg\" /\u003e\n\n\nExample::\n\n    {% get_dummyimage_url 320 240 png as image %}\n    \u003cimg src=\"{{ image }}?text=hello+world\" /\u003e\n\n\nQuery Parameters\n================\n\nAvailable parameters:\n\n- ``text=string`` text to be rendered in the middle of the image.\n- ``textcolor=color`` text color.\n- ``bgcolor=color`` background color.\n- ``bordercolor=color`` border color.\n- ``noborder=1`` disable border.\n- ``cross=1`` draw a cross in the through the image.\n\n.. note::\n  Colors can be literal color names (e.g. ``white``, ``red``) or hexadecimal \n  values starting with ``!``, for example: ``!333``, ``!AAA``, ``white``,\n  ``blue``, ``!CBCBCB``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmax%2Fdjango-dummyimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmax%2Fdjango-dummyimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmax%2Fdjango-dummyimage/lists"}