force images through our image server
This commit is contained in:
parent
aa67e56551
commit
8b28079788
@ -3,8 +3,9 @@
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/gulpfile.js" afterPath="$PROJECT_DIR$/gulpfile.js" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/html/css/app.css" afterPath="$PROJECT_DIR$/html/css/app.css" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/html/index.html" afterPath="$PROJECT_DIR$/html/index.html" />
|
||||
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/html/js/jquery.unveil.js" afterPath="$PROJECT_DIR$/html/js/jquery.unveil.js" />
|
||||
</list>
|
||||
<ignored path="rinser.iws" />
|
||||
<ignored path=".idea/workspace.xml" />
|
||||
@ -31,8 +32,8 @@
|
||||
<file leaf-file-name="index.html" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/html/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="-31.942858">
|
||||
<caret line="43" column="4" selection-start-line="43" selection-start-column="4" selection-end-line="43" selection-end-column="4" />
|
||||
<state vertical-scroll-proportion="-10.4">
|
||||
<caret line="41" column="15" selection-start-line="41" selection-start-column="15" selection-end-line="41" selection-end-column="15" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
@ -68,16 +69,28 @@
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="app.css" pinned="false" current-in-tab="true">
|
||||
<file leaf-file-name="app.css" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/html/css/app.css">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.9028945">
|
||||
<caret line="187" column="28" selection-start-line="187" selection-start-column="28" selection-end-line="187" selection-end-column="28" />
|
||||
<state vertical-scroll-proportion="-29.114286">
|
||||
<caret line="190" column="1" selection-start-line="190" selection-start-column="1" selection-end-line="190" selection-end-column="1" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="jquery.unveil.js" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/html/js/jquery.unveil.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.52205884">
|
||||
<caret line="40" column="83" selection-start-line="40" selection-start-column="83" selection-end-line="40" selection-end-column="83" />
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="news.js" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/news.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
@ -137,7 +150,7 @@
|
||||
<file leaf-file-name="gulpfile.js" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/gulpfile.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.681736">
|
||||
<state vertical-scroll-proportion="0.49019608">
|
||||
<caret line="58" column="66" selection-start-line="58" selection-start-column="66" selection-end-line="58" selection-end-column="66" />
|
||||
<folding />
|
||||
</state>
|
||||
@ -211,7 +224,6 @@
|
||||
<option value="$PROJECT_DIR$/gulp/build.js" />
|
||||
<option value="$PROJECT_DIR$/package.json" />
|
||||
<option value="$PROJECT_DIR$/.jshintrc" />
|
||||
<option value="$PROJECT_DIR$/html/index.html" />
|
||||
<option value="$PROJECT_DIR$/pipes-server.js" />
|
||||
<option value="$PROJECT_DIR$/dist/index.html" />
|
||||
<option value="$PROJECT_DIR$/html/js/shell.js" />
|
||||
@ -224,6 +236,8 @@
|
||||
<option value="$PROJECT_DIR$/dist/js/app.js" />
|
||||
<option value="$PROJECT_DIR$/gulpfile.js" />
|
||||
<option value="$PROJECT_DIR$/html/css/app.css" />
|
||||
<option value="$PROJECT_DIR$/html/index.html" />
|
||||
<option value="$PROJECT_DIR$/html/js/jquery.unveil.js" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
@ -238,10 +252,10 @@
|
||||
</gulpfiles>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds">
|
||||
<option name="x" value="138" />
|
||||
<option name="y" value="33" />
|
||||
<option name="width" value="2435" />
|
||||
<option name="height" value="1983" />
|
||||
<option name="x" value="-11" />
|
||||
<option name="y" value="-11" />
|
||||
<option name="width" value="3862" />
|
||||
<option name="height" value="2122" />
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
||||
<OptionsSetting value="true" id="Add" />
|
||||
@ -366,7 +380,7 @@
|
||||
<property name="recentsLimit" value="5" />
|
||||
<property name="settings.editor.selected.configurable" value="reference.settings.ics" />
|
||||
<property name="settings.editor.splitter.proportion" value="0.2" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/gulpfile.js" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/../keeper" />
|
||||
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="157" />
|
||||
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder0" value="0" />
|
||||
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="186" />
|
||||
@ -657,19 +671,25 @@
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1458079238959</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="28" />
|
||||
<task id="LOCAL-00028" summary="limit image size to 900px">
|
||||
<created>1458079725571</created>
|
||||
<option name="number" value="00028" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1458079725571</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="29" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="138" y="33" width="2435" height="1983" extended-state="0" />
|
||||
<frame x="-11" y="-11" width="3862" height="2122" extended-state="6" />
|
||||
<editor active="false" />
|
||||
<layout>
|
||||
<window_info id="Gulp" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.20672269" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.12923563" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33551913" sideWeight="0.34785393" order="7" side_tool="true" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.36216518" sideWeight="0.48606148" order="7" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.13568099" sideWeight="0.48606148" order="7" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33506224" sideWeight="0.65214604" order="2" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32896176" sideWeight="0.4838976" order="7" side_tool="false" content_ui="tabs" />
|
||||
@ -725,7 +745,8 @@
|
||||
<MESSAGE value="reverting" />
|
||||
<MESSAGE value="debugging" />
|
||||
<MESSAGE value="Updating to Version 3" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="Updating to Version 3" />
|
||||
<MESSAGE value="limit image size to 900px" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="limit image size to 900px" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager>
|
||||
@ -734,16 +755,6 @@
|
||||
<watches-manager />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/gulp/build.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
<caret line="15" column="3" selection-start-line="15" selection-start-column="3" selection-end-line="15" selection-end-column="3" />
|
||||
<folding>
|
||||
<element signature="e#0#43#0" expanded="false" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/tech.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
@ -1020,14 +1031,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/html/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="-31.942858">
|
||||
<caret line="43" column="4" selection-start-line="43" selection-start-column="4" selection-end-line="43" selection-end-column="4" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/tech.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.0">
|
||||
@ -1090,11 +1093,29 @@
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/html/css/app.css">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.9028945">
|
||||
<caret line="187" column="28" selection-start-line="187" selection-start-column="28" selection-end-line="187" selection-end-column="28" />
|
||||
<state vertical-scroll-proportion="-29.114286">
|
||||
<caret line="190" column="1" selection-start-line="190" selection-start-column="1" selection-end-line="190" selection-end-column="1" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/html/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="-10.4">
|
||||
<caret line="41" column="15" selection-start-line="41" selection-start-column="15" selection-end-line="41" selection-end-column="15" />
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/html/js/jquery.unveil.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state vertical-scroll-proportion="0.52205884">
|
||||
<caret line="40" column="83" selection-start-line="40" selection-start-column="83" selection-end-line="40" selection-end-column="83" />
|
||||
<folding>
|
||||
<element signature="n#!!doc" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
@ -184,6 +184,8 @@ float:right;
|
||||
border-bottom:1px solid silver;
|
||||
}
|
||||
|
||||
img{
|
||||
max-width:900px !important;
|
||||
}
|
||||
div.content img {
|
||||
display: block;
|
||||
float: none !important;
|
||||
max-width: 1140px !important;
|
||||
}
|
||||
|
@ -39,6 +39,7 @@
|
||||
|
||||
<script src="//cdn.muicss.com/mui-0.4.6/js/mui.min.js"></script>
|
||||
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
|
||||
<script src="//cdn.rawgit.com/jprichardson/string.js/master/lib/string.min.js"></script>
|
||||
|
||||
<!-- build:vendor -->
|
||||
<script src="libs/microevent.js"></script>
|
||||
|
@ -32,7 +32,14 @@
|
||||
flag = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (source && !flag) {
|
||||
|
||||
if (!S(source).startsWith('http')) {
|
||||
source = 'http://' + S(source).stripLeft('/').s;
|
||||
}
|
||||
source = 'http://image.silvrtree.co.uk/900,fit/' + source;
|
||||
|
||||
this.setAttribute("src", source);
|
||||
if (typeof callback === "function") callback.call(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user